Explorar el Código

Clear screen upon initial launch of installer

Once the script has verified correct permissions to run, clear the previous screen output and prepare to display the Hestia installer.
Kristan Kenney hace 7 años
padre
commit
600c921d39
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  1. 3 0
      install/hst-install-debian.sh
  2. 3 0
      install/hst-install-ubuntu.sh

+ 3 - 0
install/hst-install-debian.sh

@@ -274,6 +274,9 @@ if [ ! -z "$(grep ^admin: /etc/passwd /etc/group)" ] && [ -z "$force" ]; then
     check_result 1 "User admin exists"
     check_result 1 "User admin exists"
 fi
 fi
 
 
+# Clear the screen once launch permissions have been verified
+clear
+
 # Update apt repository
 # Update apt repository
 echo "Please wait a moment while we update your systems APT repositories..."
 echo "Please wait a moment while we update your systems APT repositories..."
 apt-get -qq update
 apt-get -qq update

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

@@ -259,6 +259,9 @@ if [ ! -z "$(grep ^admin: /etc/passwd /etc/group)" ] && [ -z "$force" ]; then
     check_result 1 "User admin exists"
     check_result 1 "User admin exists"
 fi
 fi
 
 
+# Clear the screen once launch permissions have been verified
+clear
+
 # Update apt repository
 # Update apt repository
 echo "Please wait a moment while we update your systems APT repositories..."
 echo "Please wait a moment while we update your systems APT repositories..."
 apt-get -qq update
 apt-get -qq update