Browse Source

Switch to sury.org php repo.

Raphael Schneeberger 7 years ago
parent
commit
9cbaaddcf1
2 changed files with 10 additions and 0 deletions
  1. 5 0
      install/hst-install-debian.sh
  2. 5 0
      install/hst-install-ubuntu.sh

+ 5 - 0
install/hst-install-debian.sh

@@ -465,6 +465,11 @@ echo "deb http://nginx.org/packages/debian/ $codename nginx" > $apt/nginx.list
 wget http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
 apt-key add /tmp/nginx_signing.key
 
+# Installing sury php repo
+echo "deb https://packages.sury.org/php/ $codename main" > $apt/php.list
+wget https://packages.sury.org/php/apt.gpg -O /tmp/php_signing.key
+apt-key add /tmp/php_signing.key
+
 # Installing hestia repo
 echo "deb http://$RHOST/ $codename main" > $apt/hestia.list
 wget https://gpg.hestiacp.com/deb_signing.key -O deb_signing.key

+ 5 - 0
install/hst-install-ubuntu.sh

@@ -444,6 +444,11 @@ echo "deb http://nginx.org/packages/mainline/ubuntu/ $codename nginx" \
 wget http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
 apt-key add /tmp/nginx_signing.key
 
+# Installing sury php repo
+echo "deb https://packages.sury.org/php/ $codename main" > $apt/php.list
+wget https://packages.sury.org/php/apt.gpg -O /tmp/php_signing.key
+apt-key add /tmp/php_signing.key
+
 # Installing hestia repo
 echo "deb http://$RHOST/ $codename main" > $apt/hestia.list
 wget https://gpg.hestiacp.com/deb_signing.key -O deb_signing.key