Skip to content

Commit 0db99f0

Browse files
author
Kristan Kenney
committed
Use Ubuntu keyserver for Hestia APT repo
1 parent c1b6b60 commit 0db99f0

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,9 +623,7 @@ fi
623623
# Installing hestia repo
624624
echo "(*) Hestia Control Panel"
625625
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
626-
wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
627-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/deb_signing.key > /dev/null 2>&1
628-
rm /tmp/deb_signing.key
626+
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
629627

630628
# Installing postgresql repo
631629
if [ "$postgresql" = 'yes' ]; then

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,7 @@ APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --recv-keys --keyserver keyse
579579
# Installing hestia repo
580580
echo "(*) Hestia Control Panel"
581581
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
582-
wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
583-
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add /tmp/deb_signing.key > /dev/null 2>&1
584-
rm /tmp/deb_signing.key
582+
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A189E93654F0B0E5 > /dev/null 2>&1
585583

586584
# Installing postgresql repo
587585
if [ "$postgresql" = 'yes' ]; then

0 commit comments

Comments
 (0)