Added support for Ubuntu 20.04
This commit is contained in:
committed by
GitHub
parent
b6978b7266
commit
f2b2c526db
@@ -78,8 +78,8 @@ case "$OS" in
|
|||||||
elif [[ "$VER" -eq 10 ]]; then
|
elif [[ "$VER" -eq 10 ]]; then
|
||||||
DEB_VER_STR="buster"
|
DEB_VER_STR="buster"
|
||||||
else
|
else
|
||||||
printf "This script only supports Debian 8 and Debian 9\\n"
|
printf "This script only supports Debian 8 and Debian 9, and Debian 10\\n"
|
||||||
printf "\\tUbuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10\\n"
|
printf "\\tUbuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, and Ubuntu 20.04\\n"
|
||||||
printf "Your OS is NOT supported.\\n"
|
printf "Your OS is NOT supported.\\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@@ -93,9 +93,11 @@ case "$OS" in
|
|||||||
UBT_VER_STR="bionic"
|
UBT_VER_STR="bionic"
|
||||||
elif [[ "$VER" = "18.10" ]]; then
|
elif [[ "$VER" = "18.10" ]]; then
|
||||||
UBT_VER_STR="cosmic"
|
UBT_VER_STR="cosmic"
|
||||||
|
elif [[ "$VER" = "20.04" ]]; then
|
||||||
|
UBT_VER_STR="focal"
|
||||||
else
|
else
|
||||||
printf "This script only supports Debian 8 and Debian 9\\n"
|
printf "This script only supports Debian 8, Debian 9, and Debian 10\\n"
|
||||||
printf "\\tUbuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10\\n"
|
printf "\\tUbuntu 14.04, Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, and Ubuntu 20.04\\n"
|
||||||
printf "Your OS is NOT supported.\\n"
|
printf "Your OS is NOT supported.\\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user