ncp-update-nc, 1.51.0.sh: Remove deprecated package php-json

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2023-01-14 02:43:45 +01:00
parent 1934fd2de6
commit 3298b95aa9
No known key found for this signature in database
GPG Key ID: 3510056072886A8F
2 changed files with 5 additions and 2 deletions

View File

@ -228,9 +228,9 @@ then
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
PHPVER_OLD="$PHPVER" PHPVER_OLD="$PHPVER"
PHPVER_NEW="8.1" PHPVER_NEW="8.1"
PHP_PACKAGES_OLD=(php-{common,igbinary,redis} "php${PHPVER_OLD}" \ PHP_PACKAGES_OLD=(php-{common,igbinary,redis,json} "php${PHPVER_OLD}" \
"php${PHPVER_OLD}"-{curl,gd,fpm,cli,opcache,mbstring,xml,zip,fileinfo,ldap,intl,bz2,json,common,readline,mysql,bcmath,gmp}) "php${PHPVER_OLD}"-{curl,gd,fpm,cli,opcache,mbstring,xml,zip,fileinfo,ldap,intl,bz2,json,common,readline,mysql,bcmath,gmp})
PHP_PACKAGES_NEW=("php${PHPVER_NEW}" php-json \ PHP_PACKAGES_NEW=("php${PHPVER_NEW}" \
"php${PHPVER_NEW}"-{curl,gd,fpm,cli,opcache,mbstring,xml,zip,fileinfo,ldap,intl,bz2,mysql,bcmath,gmp,redis,common}) "php${PHPVER_NEW}"-{curl,gd,fpm,cli,opcache,mbstring,xml,zip,fileinfo,ldap,intl,bz2,mysql,bcmath,gmp,redis,common})
php_restore() { php_restore() {

3
updates/1.51.0.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
apt-get remove -y php-json || true