Skip to content

Commit a7c94b5

Browse files
committed
Fix some output issues.
1 parent fcc2c73 commit a7c94b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install/hst-install-ubuntu.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ apt=/etc/apt/sources.list.d
477477
echo "deb http://nginx.org/packages/mainline/$VERSION/ $codename nginx" \
478478
> $apt/nginx.list
479479
wget --quiet http://nginx.org/keys/nginx_signing.key -O /tmp/nginx_signing.key
480-
apt-key add /tmp/nginx_signing.key >> $LOG
480+
screen -dm apt-key add /tmp/nginx_signing.key
481481

482482
if [ "$multiphp" = 'yes' ] || [ "$phpfpm" = 'yes' ]; then
483483
# Installing sury php repo
@@ -486,12 +486,12 @@ fi
486486

487487
# Installing MariaDB repo
488488
echo "deb http://ams2.mirrors.digitalocean.com/mariadb/repo/10.3/$VERSION $codename main" > $apt/mariadb.list
489-
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 >> $LOG
489+
screen -dm apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
490490

491491
# Installing hestia repo
492492
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list
493493
wget --quiet https://gpg.hestiacp.com/deb_signing.key -O /tmp/deb_signing.key
494-
apt-key add /tmp/deb_signing.key >> $LOG
494+
screen -dm apt-key add /tmp/deb_signing.key
495495

496496

497497
#----------------------------------------------------------#
@@ -1401,7 +1401,7 @@ fi
14011401
pub_ip=$(curl --ipv4 -s https://www.hestiacp.com/what-is-my-ip/)
14021402
if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
14031403
echo "$HESTIA/bin/v-update-sys-ip" >> /etc/rc.local
1404-
$HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip >> $LOG
1404+
$HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip > /dev/null 2>&1
14051405
ip=$pub_ip
14061406
fi
14071407

0 commit comments

Comments
 (0)