Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down