1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-25 03:31:33 -05:00

Minor typo fixes

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-12-19 18:52:55 -05:00 committed by GitHub
parent fadef7d08c
commit f2f5ed3822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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