1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 18:41:32 -05:00

Fixed Fedora 34 support

This commit is contained in:
TommyTran732 2021-09-25 23:23:41 -04:00
parent 6cb9fd7875
commit 20525fe6b0
No known key found for this signature in database
GPG Key ID: 8825C3851DC29C20

View File

@ -131,8 +131,8 @@ os_check(){
exit 2 exit 2
fi fi
elif [ "$lsb_dist" = "fedora" ]; then elif [ "$lsb_dist" = "fedora" ]; then
if [ "$dist_version" != "33" ] && [ "$dist_version" != "32" ]; then if [ "$dist_version" != "34" ] && [ "$dist_version" != "33" ]; then
output "Unsupported Fedora version. Only Fedora 33 and 32 are supported." output "Unsupported Fedora version. Only Fedora 34 and 33 are supported."
exit 2 exit 2
fi fi
elif [ "$lsb_dist" = "centos" ]; then elif [ "$lsb_dist" = "centos" ]; then