Просмотр исходного кода

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 лет назад
Родитель
Сommit
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