|
|
@@ -21,10 +21,10 @@ if [ "$WEB_SYSTEM" = "apache2" ] && [ ! -e "/etc/apt/sources.list.d/apache2.list
|
|
|
if [ "$type" = "ubuntu" ]; then
|
|
|
codename="$(lsb_release -s -c)"
|
|
|
echo "deb http://ppa.launchpad.net/ondrej/apache2/ubuntu $codename main" > /etc/apt/sources.list.d/apache2.list
|
|
|
- elseif [ "$type" = "debian" ]; then
|
|
|
+ elif [ "$type" = "debian" ]; then
|
|
|
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/apache2.list
|
|
|
wget --quiet https://packages.sury.org/apache2/apt.gpg -O /tmp/apache2_signing.key
|
|
|
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/apache2_signing.key > /dev/null 2>&1
|
|
|
fi
|
|
|
fi
|
|
|
-fi
|
|
|
+fi
|