Skip to content

Commit fcc2c73

Browse files
committed
Add some "progress bar" to installer scripts.
1 parent cfbd657 commit fcc2c73

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,10 +475,6 @@ echo "Installation backup directory: $hst_backups"
475475
# Print Log File Path
476476
echo "Installation Log File: $LOG"
477477

478-
# Printing start message and sleeping for 2 seconds
479-
echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
480-
sleep 2
481-
482478

483479
#----------------------------------------------------------#
484480
# Checking swap #
@@ -704,6 +700,7 @@ echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
704700
chmod a+x /usr/sbin/policy-rc.d
705701

706702
# Installing apt packages
703+
echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
707704
apt-get -y install $software >> $LOG &
708705
BACK_PID=$!
709706

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,6 @@ echo "Installation backup directory: $hst_backups"
446446
# Print Log File Path
447447
echo "Installation Log File: $LOG"
448448

449-
# Printing start message and sleeping for 2 seconds
450-
echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
451-
sleep 2
452449

453450
#----------------------------------------------------------#
454451
# Checking swap #
@@ -669,6 +666,7 @@ echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
669666
chmod a+x /usr/sbin/policy-rc.d
670667

671668
# Installing apt packages
669+
echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
672670
apt-get -y install $software >> $LOG &
673671
BACK_PID=$!
674672

0 commit comments

Comments
 (0)