From 4d13e906abeb67e30fd7ad18f250fbfb1d67e6f0 Mon Sep 17 00:00:00 2001 From: necro-nemsis Date: Sat, 16 Apr 2022 06:58:06 -0400 Subject: [PATCH] update test --- installers/common.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/installers/common.sh b/installers/common.sh index b615afa..53e72f1 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -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 = "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 = "buster" ]; then version_msg="10.0 (Buster)" php_package="php7.3-cgi" -elif [ $version -eq "stretch" ]; then +elif [ $version = "stretch" ]; then version_msg="9.0 (Stretch)" php_package="php7.0-cgi" -elif [ $version -eq "focal" ]; then +elif [ $version = "focal" ]; then version_msg="20.02 (Focal)" php_package="php7.4-cgi" -elif [ $version -eq "jammy" ]; then +elif [ $version = "jammy" ]; then version_msg="22.04 (Jammy)" php_package="php8.1-cgi" else