Explorar el Código

Use Ubuntu keyserver for Hestia APT repo

Kristan Kenney hace 6 años
padre
commit
0db99f046b
Se han modificado 2 ficheros con 2 adiciones y 6 borrados
  1. 1 3
      install/hst-install-debian.sh
  2. 1 3
      install/hst-install-ubuntu.sh

+ 1 - 3
install/hst-install-debian.sh

@@ -623,9 +623,7 @@ fi
 # Installing hestia repo
 # Installing hestia repo
 echo "(*) Hestia Control Panel"
 echo "(*) Hestia Control Panel"
 echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
 echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
-wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
-APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/deb_signing.key > /dev/null 2>&1
-rm /tmp/deb_signing.key
+APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
 
 
 # Installing postgresql repo
 # Installing postgresql repo
 if [ "$postgresql" = 'yes' ]; then
 if [ "$postgresql" = 'yes' ]; then

+ 1 - 3
install/hst-install-ubuntu.sh

@@ -579,9 +579,7 @@ APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyse
 # Installing hestia repo
 # Installing hestia repo
 echo "(*) Hestia Control Panel"
 echo "(*) Hestia Control Panel"
 echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
 echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
-wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
-APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/deb_signing.key > /dev/null 2>&1
-rm /tmp/deb_signing.key
+APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
 
 
 # Installing postgresql repo
 # Installing postgresql repo
 if [ "$postgresql" = 'yes' ]; then
 if [ "$postgresql" = 'yes' ]; then