mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-18 20:51:45 +00:00
scripts/installer: work on Oracle Linux (#2604)
Before we didn't detect it properly. Since Oracle Linux is diet centos, we can just make the centos logic detect Oracle linux and everything should be fine. Signed-off-by: Christine Dodrill <xe@tailscale.com>
This commit is contained in:
parent
e6d4ab2dd6
commit
4d19db7c9f
@ -46,11 +46,11 @@ main() {
|
|||||||
VERSION="$VERSION_CODENAME"
|
VERSION="$VERSION_CODENAME"
|
||||||
PACKAGETYPE="apt"
|
PACKAGETYPE="apt"
|
||||||
;;
|
;;
|
||||||
centos)
|
centos|ol)
|
||||||
OS="$ID"
|
OS="$ID"
|
||||||
VERSION="$VERSION_ID"
|
VERSION="$VERSION_ID"
|
||||||
PACKAGETYPE="dnf"
|
PACKAGETYPE="dnf"
|
||||||
if [ "$VERSION" = "7" ]; then
|
if [ "$VERSION" =~ ^7 ]; then
|
||||||
PACKAGETYPE="yum"
|
PACKAGETYPE="yum"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user