update version test.

pull/43/head
necro-nemsis 3 years ago
parent 81b2a14055
commit 52a1562cb0

@ -5,20 +5,20 @@ version=$(lsb_release -sc) #``sed 's/\..*//' /etc/debian_version`
# Determine version, set default home location for lighttpd and
# php package to install
if [ $version -eq bullseye ]; then
if [ $version -eq "bullseye" ]; then
version_msg="11.0 (Bullseye)"
# sudo apt update --allow-releaseinfo-change
php_package="php7.4-cgi"
elif [ $version -eq buster ]; then
elif [ $version -eq "buster" ]; then
version_msg="10.0 (Buster)"
php_package="php7.3-cgi"
elif [ $version -eq stretch ]; then
elif [ $version -eq "stretch" ]; then
version_msg="9.0 (Stretch)"
php_package="php7.0-cgi"
elif [ $version -eq focal ]; then
elif [ $version -eq "focal" ]; then
version_msg="20.02 (Focal)"
php_package="php7.4-cgi"
elif [ $version -eq jammy ]; then
elif [ $version -eq "jammy" ]; then
version_msg="22.04 (Jammy)"
php_package="php8.1-cgi"
else

Loading…
Cancel
Save