mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-20 13:41:41 +00:00
scripts/installer.sh: add Miracle Linux as a RHEL derivative (#15671)
Fixes #15669 Signed-off-by: Erisa A <erisa@tailscale.com>
This commit is contained in:
parent
624c25bd49
commit
6502b7d667
@ -208,8 +208,11 @@ main() {
|
|||||||
PACKAGETYPE="yum"
|
PACKAGETYPE="yum"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
rhel)
|
rhel|miraclelinux)
|
||||||
OS="$ID"
|
OS="$ID"
|
||||||
|
if [ "$ID" = "miraclelinux" ]; then
|
||||||
|
OS="rhel"
|
||||||
|
fi
|
||||||
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
|
VERSION="$(echo "$VERSION_ID" | cut -f1 -d.)"
|
||||||
PACKAGETYPE="dnf"
|
PACKAGETYPE="dnf"
|
||||||
if [ "$VERSION" = "7" ]; then
|
if [ "$VERSION" = "7" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user