diff --git a/install.sh b/install.sh index 524fa53..aaafe11 100755 --- a/install.sh +++ b/install.sh @@ -103,15 +103,15 @@ version_msg="Unknown Raspbian Version" if [ "$rasp_version" -eq "11" ]; then version_msg="Raspbian 11.0 (Bullseye)" php_version="7.3" - php_package="php${php_version} php${php_version}-cgi php${php_version}-common php${php_version}-cli php${php_version}-fpm php${php_version}-mbstring php${php_version}-mysql php${php_version}-opcache php${php_version}-curl php${php_version}-gd php${php_version}-curl php${php_version}-zip php${php_version}-xml php-redis php${php_version}-dev" + php_package="php${php_version} php${php_version}-cgi php${php_version}-common php${php_version}-cli php${php_version}-fpm php${php_version}-mbstring php${php_version}-mysql php${php_version}-opcache php${php_version}-curl php${php_version}-gd php${php_version}-curl php${php_version}-zip php${php_version}-xml php${php_version}-redis php${php_version}-dev" elif [ "$rasp_version" -eq "10" ]; then version_msg="Raspbian 10.0 (Buster)" php_version="7.3" - php_package="php${php_version} php${php_version}-cgi php${php_version}-common php${php_version}-cli php${php_version}-fpm php${php_version}-mbstring php${php_version}-mysql php${php_version}-opcache php${php_version}-curl php${php_version}-gd php${php_version}-curl php${php_version}-zip php${php_version}-xml php-redis php${php_version}-dev" + php_package="php${php_version} php${php_version}-cgi php${php_version}-common php${php_version}-cli php${php_version}-fpm php${php_version}-mbstring php${php_version}-mysql php${php_version}-opcache php${php_version}-curl php${php_version}-gd php${php_version}-curl php${php_version}-zip php${php_version}-xml php${php_version}-redis php${php_version}-dev" elif [ "$rasp_version" -eq "9" ]; then version_msg="Raspbian 9.0 (Stretch)" php_version="7.3" - php_package="php${php_version} php${php_version}-cgi php${php_version}-common php${php_version}-cli php${php_version}-fpm php${php_version}-mbstring php${php_version}-mysql php${php_version}-opcache php${php_version}-curl php${php_version}-gd php${php_version}-curl php${php_version}-zip php${php_version}-xml php-redis php${php_version}-dev" + php_package="php${php_version} php${php_version}-cgi php${php_version}-common php${php_version}-cli php${php_version}-fpm php${php_version}-mbstring php${php_version}-mysql php${php_version}-opcache php${php_version}-curl php${php_version}-gd php${php_version}-curl php${php_version}-zip php${php_version}-xml php${php_version}-redis php${php_version}-dev" elif [ "$rasp_version" -lt "9" ]; then echo "Raspbian ${rasp_version} is unsupported. Please upgrade." exit 1 diff --git a/uninstall.sh b/uninstall.sh index 4af0359..2e99216 100644 --- a/uninstall.sh +++ b/uninstall.sh @@ -7,7 +7,10 @@ user=$(whoami) # Determine Raspbian version version_msg="Unknown Raspbian Version" -if [ "$rasp_version" -eq "10" ]; then +if [ "$rasp_version" -eq "11" ]; then + version_msg="Raspbian 11.0 (Bullseye)" + php_package="php7.3-cgi" +elif [ "$rasp_version" -eq "10" ]; then version_msg="Raspbian 10.0 (Buster)" php_package="php7.3-cgi" elif [ "$rasp_version" -eq "9" ]; then