Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-06-29 05:41:04 +0300
committernachoparker <nacho@ownyourbits.com>2017-06-29 07:11:03 +0300
commit10a9d2e4f8186f7d01e6eb66096fc93b9e9a972f (patch)
treecf6fef3470ad04aae6cbcc53d29f8d27082454eb
parent27830f50571c549b633f415aa9c260a39684b403 (diff)
clear screen before nextcloudpi outputv0.14.7
-rwxr-xr-xetc/library.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/library.sh b/etc/library.sh
index df371362..8efeab64 100755
--- a/etc/library.sh
+++ b/etc/library.sh
@@ -234,6 +234,7 @@ function configure_script()
config $SCRIPT || return 1 # writes "$INSTALLATION_CODE"
echo -e "$INSTALLATION_CODE" > $SCRIPT # save configuration
source ./$SCRIPT # load configuration
+ printf '\033[2J' && tput cup 0 0 # clear screen, don't clear scroll, cursor on top
echo -e "Launching \e[1m$( basename $SCRIPT .sh )\e[0m"
set +x
configure