mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Removed Support for Ubuntu 16.04
This commit is contained in:
parent
c3c972a557
commit
588a6ab7b3
@ -123,8 +123,8 @@ os_check(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$lsb_dist" = "ubuntu" ]; then
|
if [ "$lsb_dist" = "ubuntu" ]; then
|
||||||
if [ "$dist_version" != "20.04" ] && [ "$dist_version" != "18.04" ] && [ "$dist_version" != "16.04" ]; then
|
if [ "$dist_version" != "20.04" ] && [ "$dist_version" != "18.04" ]; then
|
||||||
output "Unsupported Ubuntu version. Only Ubuntu 20.04, 18.04 and 16.04 are supported."
|
output "Unsupported Ubuntu version. Only Ubuntu 20.04 and 18.04 are supported."
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
elif [ "$lsb_dist" = "debian" ]; then
|
elif [ "$lsb_dist" = "debian" ]; then
|
||||||
@ -151,7 +151,7 @@ os_check(){
|
|||||||
output "Unsupported operating system."
|
output "Unsupported operating system."
|
||||||
output ""
|
output ""
|
||||||
output "Supported OS:"
|
output "Supported OS:"
|
||||||
output "Ubuntu: 20.04, 18.04, 16.04"
|
output "Ubuntu: 20.04, 18.04"
|
||||||
output "Debian: 10, 9"
|
output "Debian: 10, 9"
|
||||||
output "Fedora: 33, 32"
|
output "Fedora: 33, 32"
|
||||||
output "CentOS: 8, 7"
|
output "CentOS: 8, 7"
|
||||||
|
Loading…
Reference in New Issue
Block a user