Skip to content

Commit 600c921

Browse files
author
Kristan Kenney
committed
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.
1 parent e1f6d36 commit 600c921

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

install/hst-install-debian.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ if [ ! -z "$(grep ^admin: /etc/passwd /etc/group)" ] && [ -z "$force" ]; then
274274
check_result 1 "User admin exists"
275275
fi
276276

277+
# Clear the screen once launch permissions have been verified
278+
clear
279+
277280
# Update apt repository
278281
echo "Please wait a moment while we update your systems APT repositories..."
279282
apt-get -qq update

install/hst-install-ubuntu.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ if [ ! -z "$(grep ^admin: /etc/passwd /etc/group)" ] && [ -z "$force" ]; then
259259
check_result 1 "User admin exists"
260260
fi
261261

262+
# Clear the screen once launch permissions have been verified
263+
clear
264+
262265
# Update apt repository
263266
echo "Please wait a moment while we update your systems APT repositories..."
264267
apt-get -qq update

0 commit comments

Comments
 (0)