mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-30 21:12:48 +00:00
scripts/installer.sh: Correct support for Oracle Linux.
Co-Authored-By: Jonathan Hult <jhult@mythics.com> Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
6cb2705833
commit
8e3b8dbb50
@ -68,11 +68,19 @@ main() {
|
|||||||
APT_KEY_TYPE="keyring"
|
APT_KEY_TYPE="keyring"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
centos|ol)
|
centos)
|
||||||
OS="$ID"
|
OS="$ID"
|
||||||
VERSION="$VERSION_ID"
|
VERSION="$VERSION_ID"
|
||||||
PACKAGETYPE="dnf"
|
PACKAGETYPE="dnf"
|
||||||
if expr "$VERSION" : "7.*" >/dev/null; then
|
if [ "$VERSION" = "7" ]; then
|
||||||
|
PACKAGETYPE="yum"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
ol)
|
||||||
|
OS="oracle"
|
||||||
|
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
|
||||||
|
PACKAGETYPE="dnf"
|
||||||
|
if [ "$VERSION" = "7" ]; then
|
||||||
PACKAGETYPE="yum"
|
PACKAGETYPE="yum"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
@ -214,6 +222,13 @@ main() {
|
|||||||
OS_UNSUPPORTED=1
|
OS_UNSUPPORTED=1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
oracle)
|
||||||
|
if [ "$VERSION" != "7" ] && \
|
||||||
|
[ "$VERSION" != "8" ]
|
||||||
|
then
|
||||||
|
OS_UNSUPPORTED=1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
rhel)
|
rhel)
|
||||||
if [ "$VERSION" != "8" ]
|
if [ "$VERSION" != "8" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user