Browse Source

Add some "progress bar" to installer scripts.

Raphael Schneeberger 7 years ago
parent
commit
fcc2c73f0f
2 changed files with 2 additions and 7 deletions
  1. 1 4
      install/hst-install-debian.sh
  2. 1 3
      install/hst-install-ubuntu.sh

+ 1 - 4
install/hst-install-debian.sh

@@ -475,10 +475,6 @@ echo "Installation backup directory: $hst_backups"
 # Print Log File Path
 echo "Installation Log File: $LOG"
 
-# Printing start message and sleeping for 2 seconds
-echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
-sleep 2
-
 
 #----------------------------------------------------------#
 #                      Checking swap                       #
@@ -704,6 +700,7 @@ echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
 chmod a+x /usr/sbin/policy-rc.d
 
 # Installing apt packages
+echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
 apt-get -y install $software >> $LOG &
 BACK_PID=$!
 

+ 1 - 3
install/hst-install-ubuntu.sh

@@ -446,9 +446,6 @@ echo "Installation backup directory: $hst_backups"
 # Print Log File Path
 echo "Installation Log File: $LOG"
 
-# Printing start message and sleeping for 2 seconds
-echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
-sleep 2
 
 #----------------------------------------------------------#
 #                      Checking swap                       #
@@ -669,6 +666,7 @@ echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d
 chmod a+x /usr/sbin/policy-rc.d
 
 # Installing apt packages
+echo -ne "\n\nWe will now install HestiaCP and all required packages. The process will take around 10-15 minutes."
 apt-get -y install $software >> $LOG &
 BACK_PID=$!