mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-25 11:41:34 -05:00
Minor typo fixes
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
fadef7d08c
commit
f2f5ed3822
@ -36,17 +36,17 @@ preflight(){
|
|||||||
fi
|
fi
|
||||||
elif [ "$lsb_dist" = "centos" ]; then
|
elif [ "$lsb_dist" = "centos" ]; then
|
||||||
if [ "$dist_version" != "9" ]; then
|
if [ "$dist_version" != "9" ]; then
|
||||||
output "Unsupported CentOS version. Only CentOS Stream 8 is supported."
|
output "Unsupported CentOS version. Only CentOS Stream 9 is supported."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
elif [ "$lsb_dist" = "rocky" ]; then
|
elif [ "$lsb_dist" = "rocky" ]; then
|
||||||
if [ "$dist_version" != "9" ]; then
|
if [ "$dist_version" != "9" ]; then
|
||||||
output "Unsupported Rocky Linux version. Only Rocky Linux 8 is supported."
|
output "Unsupported Rocky Linux version. Only Rocky Linux 9 is supported."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
elif [ "$lsb_dist" = "almalinux" ]; then
|
elif [ "$lsb_dist" = "almalinux" ]; then
|
||||||
if [ "$dist_version" != "9" ]; then
|
if [ "$dist_version" != "9" ]; then
|
||||||
output "Unsupported AlmaLinux version. Only AlmaLinux 8 is supported."
|
output "Unsupported AlmaLinux version. Only AlmaLinux 9 is supported."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
elif [ "$lsb_dist" != "rhel" ] && [ "$lsb_dist" != "centos" ] && [ "$lsb_dist" != "rocky" ] && [ "$lsb_dist" != "almalinux" ]; then
|
elif [ "$lsb_dist" != "rhel" ] && [ "$lsb_dist" != "centos" ] && [ "$lsb_dist" != "rocky" ] && [ "$lsb_dist" != "almalinux" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user