Merge pull request #85 from ixs/master

Add Rocky Linux 8 support
This commit is contained in:
Roni Väyrynen
2021-06-30 15:28:24 +03:00
committed by GitHub

View File

@@ -906,8 +906,8 @@ function CheckOS {
return 0 return 0
fi fi
if [[ ! $OSNAME =~ ^(Debian|Ubuntu|CentOS|AlmaLinux)$ ]]; then if [[ ! $OSNAME =~ ^(Debian|Ubuntu|CentOS|Rocky|AlmaLinux)$ ]]; then
printfail "Only Ubuntu/Debian/CentOS/AlmaLinux supported" printfail "Only Ubuntu/Debian/CentOS/Rocky/AlmaLinux supported"
exit 1 exit 1
fi fi
@@ -916,6 +916,11 @@ function CheckOS {
exit 1 exit 1
fi fi
if [[ $OSNAME == "Rocky" ]] && [[ $OSVERSION != "8" ]]; then
printfail "Only Rocky Linux 8 supported"
exit 1
fi
# for future if/when something above 8 is released # for future if/when something above 8 is released
if [[ $OSNAME == "AlmaLinux" ]] && [[ $OSVERSION != "8" ]]; then if [[ $OSNAME == "AlmaLinux" ]] && [[ $OSVERSION != "8" ]]; then
printfail "Only AlmaLinux 8 supported" printfail "Only AlmaLinux 8 supported"