Преглед изворни кода

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 пре 7 година
родитељ
комит
600c921d39
2 измењених фајлова са 6 додато и 0 уклоњено
  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"
 fi
 
+# Clear the screen once launch permissions have been verified
+clear
+
 # Update apt repository
 echo "Please wait a moment while we update your systems APT repositories..."
 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"
 fi
 
+# Clear the screen once launch permissions have been verified
+clear
+
 # Update apt repository
 echo "Please wait a moment while we update your systems APT repositories..."
 apt-get -qq update