Skip to content

Commit 87284b9

Browse files
committed
Set apt-get install to silent and add information text.
1 parent 6035176 commit 87284b9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,8 @@ echo -e '#!/bin/sh \nexit 101' > /usr/sbin/policy-rc.d
674674
chmod a+x /usr/sbin/policy-rc.d
675675

676676
# Install apt packages
677-
apt-get -y install $software
677+
echo "We will now silently install all required packages. This process will take around 5-10 minutes..."
678+
apt-get -y install $software >/dev/null 2>&1
678679
check_result $? "apt-get install failed"
679680

680681
# Restore policy

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,8 @@ echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
659659
chmod a+x /usr/sbin/policy-rc.d
660660

661661
# Installing apt packages
662-
apt-get -y install $software
662+
echo "We will now silently install all required packages. This process will take around 5-10 minutes..."
663+
apt-get -y install $software >/dev/null 2>&1
663664
check_result $? "apt-get install failed"
664665

665666
# Restoring autostart policy

0 commit comments

Comments
 (0)