Skip to content

Commit ca518c5

Browse files
committed
Remove cleanup routine and change path of deb_signing.key.
1 parent fbca018 commit ca518c5

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,8 @@ fi
493493

494494
# Installing hestia repo
495495
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
496-
wget https://gpg.hestiacp.com/deb_signing.key -O deb_signing.key
497-
apt-key add deb_signing.key
496+
wget https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
497+
apt-key add /tmp/deb_signing.key
498498

499499

500500
#----------------------------------------------------------#
@@ -1345,16 +1345,6 @@ fi
13451345
source $hestiacp/phpmyadmin/pma.sh > /dev/null 2>&1
13461346

13471347

1348-
#----------------------------------------------------------#
1349-
# Clear Up Files #
1350-
#----------------------------------------------------------#
1351-
1352-
# Check and remove deb_signing.key
1353-
if [ -f deb_signing.key ]; then
1354-
rm deb_signing.key
1355-
fi
1356-
1357-
13581348
#----------------------------------------------------------#
13591349
# Configure Admin User #
13601350
#----------------------------------------------------------#

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ fi
476476

477477
# Installing hestia repo
478478
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
479-
wget https://gpg.hestiacp.com/deb_signing.key -O deb_signing.key
480-
apt-key add deb_signing.key
479+
wget https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
480+
apt-key add /tmp/deb_signing.key
481481

482482

483483
#----------------------------------------------------------#
@@ -1407,16 +1407,6 @@ chown admin:admin $HESTIA/data/sessions
14071407
$HESTIA/bin/v-add-cron-hestia-autoupdate
14081408

14091409

1410-
#----------------------------------------------------------#
1411-
# Clear Up Files #
1412-
#----------------------------------------------------------#
1413-
1414-
# Check and remove deb_signing.key
1415-
if [ -f deb_signing.key ]; then
1416-
rm deb_signing.key
1417-
fi
1418-
1419-
14201410
#----------------------------------------------------------#
14211411
# Hestia Access Info #
14221412
#----------------------------------------------------------#

0 commit comments

Comments
 (0)