From 9faa2908e86d9111d3d334b81e96216654c63e71 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Mon, 27 Dec 2021 21:49:17 -0300 Subject: [PATCH] Refactor --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c630beb..f4e181d 100755 --- a/install.sh +++ b/install.sh @@ -310,8 +310,6 @@ steps=( ) runScript() { - clear - while getopts ':hd' flag; do case $flag in h) printf "usage: ${0##*/} [command]\n\t-h\t\t\tPrint this help message.\n\t-d\t\t\tDebug." @@ -322,6 +320,8 @@ runScript() { esac done + clear + if [ -d "$HOME/Documents" ]; then getDotfiles whiptail --title "CocoASAIS" --msgbox "All done!" 0 0