mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-22 12:58:37 +00:00
scripts/install.sh: add RHEL7.
Fixes https://github.com/tailscale/tailscale/issues/5729 Signed-off-by: Denton Gentry <dgentry@tailscale.com>
This commit is contained in:
parent
5677ed1e85
commit
3d8eda5b72
@ -163,6 +163,9 @@ main() {
|
|||||||
OS="$ID"
|
OS="$ID"
|
||||||
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
|
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
|
||||||
PACKAGETYPE="dnf"
|
PACKAGETYPE="dnf"
|
||||||
|
if [ "$VERSION" = "7" ]; then
|
||||||
|
PACKAGETYPE="yum"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
fedora)
|
fedora)
|
||||||
OS="$ID"
|
OS="$ID"
|
||||||
@ -326,8 +329,9 @@ main() {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
rhel)
|
rhel)
|
||||||
if [ "$VERSION" != "8" ] && \
|
if [ "$VERSION" != "7" ] && \
|
||||||
[ "$VERSION" != "9" ]
|
[ "$VERSION" != "8" ] && \
|
||||||
|
[ "$VERSION" != "9" ]
|
||||||
then
|
then
|
||||||
OS_UNSUPPORTED=1
|
OS_UNSUPPORTED=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user