Update grocy-install.sh

This commit is contained in:
tteckster 2024-02-18 18:40:42 -05:00 committed by GitHub
parent be77d96cce
commit 75bcbacd9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
echo -e "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $VERSION main" >/etc/apt/sources.list.d/php.list echo -e "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $VERSION main" >/etc/apt/sources.list.d/php.list
$STD apt-get update $STD apt-get update
$STD apt-get install -y php8.3 php8.3-{cli.bz2,curl,mbstring,intl,sqlite3,fpm,gd,zip,xml} $STD apt-get install -y php8.3 php8.3-{cli,bz2,curl,mbstring,intl,sqlite3,fpm,gd,zip,xml}
a2enconf php8.3-fpm a2enconf php8.3-fpm
systemctl reload apache2 systemctl reload apache2
msg_ok "Installed PHP8.3" msg_ok "Installed PHP8.3"