Update multi-php-install.sh

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

View file

@ -100,7 +100,7 @@ apt update
if [ "$inst_repo" -eq 1 ]; then if [ "$inst_repo" -eq 1 ]; then
press_enter "=== Press enter to install sury.org repo ===============================================================================" press_enter "=== Press enter to install sury.org repo ==============================================================================="
apt -y install apt-transport-https ca-certificates apt -y install apt-transport-https ca-certificates
if [ $debian_version -ge 10 ]; then if [ $debian_version -ge 11 ]; then
wget -nv -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg wget -nv -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
fi fi
# if [ $debian_version -eq 10 ]; then # if [ $debian_version -eq 10 ]; then