Update grocy-install.sh (#873)

Fixes bug of missing packages when installing grocy

Installed were:
php-sqlite3, php-gd, php-intl and php-mbstring

These need to be installed for the installer to properly work:
php8.1-sqlite3, php8.1-gd, php8.1-intl and php8.1-mbstring
This commit is contained in:
Calvin 2022-12-27 11:25:29 +01:00 committed by GitHub
parent 5b03b47ee6
commit 667dbdd185
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,10 +95,10 @@ sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://pa
apt-get update &>/dev/null
apt-get install -y php8.1 &>/dev/null
apt-get install -y libapache2-mod-php8.1 &>/dev/null
apt-get install -y php-sqlite3 &>/dev/null
apt-get install -y php-gd &>/dev/null
apt-get install -y php-intl &>/dev/null
apt-get install -y php-mbstring &>/dev/null
apt-get install -y php8.1-sqlite3 &>/dev/null
apt-get install -y php8.1-gd &>/dev/null
apt-get install -y php8.1-intl &>/dev/null
apt-get install -y php8.1-mbstring &>/dev/null
msg_ok "Installed PHP 8.1"
msg_info "Installing grocy"