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

Update install.sh

This commit is contained in:
Tommy 2021-11-01 22:26:30 -04:00 committed by GitHub
parent f1f09f6e18
commit ae2680e6d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,12 +126,12 @@ os_check(){
exit 2 exit 2
fi fi
elif [ "$lsb_dist" = "debian" ]; then elif [ "$lsb_dist" = "debian" ]; then
if [ "$dist_version" != "10" ]; then if [ "$dist_version" != "11" ]; then
output "Unsupported Debian version. Only Debian 10 is supported." output "Unsupported Debian version. Only Debian 10 is supported."
exit 2 exit 2
fi fi
elif [ "$lsb_dist" = "fedora" ]; then elif [ "$lsb_dist" = "fedora" ]; then
if [ "$dist_version" != "34" ]; then if [ "$dist_version" != "35" ]; then
output "Unsupported Fedora version. Only Fedora 34 is supported." output "Unsupported Fedora version. Only Fedora 34 is supported."
exit 2 exit 2
fi fi
@ -155,8 +155,8 @@ os_check(){
output "" output ""
output "Supported OS:" output "Supported OS:"
output "Ubuntu: 20.04" output "Ubuntu: 20.04"
output "Debian: 10" output "Debian: 11"
output "Fedora: 34" output "Fedora: 35"
output "CentOS Stream: 8" output "CentOS Stream: 8"
output "Rocky Linux: 8" output "Rocky Linux: 8"
output "RHEL: 8" output "RHEL: 8"