Update grocy-install.sh

tweak
This commit is contained in:
tteckster 2024-02-18 18:38:05 -05:00 committed by GitHub
parent 147d0ac8db
commit be77d96cce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,7 +25,9 @@ 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 php8.3-{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
systemctl reload apache2
msg_ok "Installed PHP8.3" msg_ok "Installed PHP8.3"
msg_info "Installing grocy" msg_info "Installing grocy"