Skip to content

Commit 8379391

Browse files
committed
Supress output of mariadb key import.
1 parent 3e74fb5 commit 8379391

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

install/hst-install-debian.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,13 @@ if [ ! -e '/usr/bin/dirmngr' ]; then
285285
check_result $? "Can't install dirmngr"
286286
fi
287287

288+
# Checking screen
289+
if [ ! -e '/usr/bin/screen' ]; then
290+
echo "Install missing screen..."
291+
apt-get -y install screen > /dev/null 2>&1
292+
check_result $? "Can't install screen"
293+
fi
294+
288295
# Check if apt-transport-https is installed
289296
if [ ! -e '/usr/lib/apt/methods/https' ]; then
290297
echo "Install missing apt-transport-https..."
@@ -507,7 +514,7 @@ fi
507514

508515
# Installing MariaDB repo
509516
echo "deb http://ams2.mirrors.digitalocean.com/mariadb/repo/10.3/$VERSION $codename main" > $apt/mariadb.list
510-
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 1>&- 2>&-
517+
screen -dm apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
511518

512519
# Installing hestia repo
513520
echo "deb https://$RHOST/ $codename main" > $apt/hestia.list

0 commit comments

Comments
 (0)