scripts/install.sh: add RHEL7.

Fixes https://github.com/tailscale/tailscale/issues/5729

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
pull/5922/merge
Denton Gentry 2 years ago committed by Denton Gentry
parent 5677ed1e85
commit 3d8eda5b72

@ -163,6 +163,9 @@ main() {
OS="$ID"
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
PACKAGETYPE="dnf"
if [ "$VERSION" = "7" ]; then
PACKAGETYPE="yum"
fi
;;
fedora)
OS="$ID"
@ -326,8 +329,9 @@ main() {
fi
;;
rhel)
if [ "$VERSION" != "8" ] && \
[ "$VERSION" != "9" ]
if [ "$VERSION" != "7" ] && \
[ "$VERSION" != "8" ] && \
[ "$VERSION" != "9" ]
then
OS_UNSUPPORTED=1
fi

Loading…
Cancel
Save