Update multi-php-install.sh - removing buster sury repo

This commit is contained in:
myvesta 2024-08-13 13:44:30 +02:00 committed by GitHub
commit 574fff0642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,9 +103,9 @@ if [ "$inst_repo" -eq 1 ]; then
if [ $debian_version -ge 10 ]; then
wget -nv -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
fi
if [ $debian_version -eq 10 ]; then
sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
fi
# if [ $debian_version -eq 10 ]; then
# sh -c 'echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list'
# fi
if [ $debian_version -eq 11 ]; then
sh -c 'echo "deb https://packages.sury.org/php/ bullseye main" > /etc/apt/sources.list.d/php.list'
fi