Refactor
This commit is contained in:
parent
0e96306209
commit
9faa2908e8
|
@ -310,8 +310,6 @@ steps=(
|
||||||
)
|
)
|
||||||
|
|
||||||
runScript() {
|
runScript() {
|
||||||
clear
|
|
||||||
|
|
||||||
while getopts ':hd' flag; do
|
while getopts ':hd' flag; do
|
||||||
case $flag in
|
case $flag in
|
||||||
h) printf "usage: ${0##*/} [command]\n\t-h\t\t\tPrint this help message.\n\t-d\t\t\tDebug."
|
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
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
clear
|
||||||
|
|
||||||
if [ -d "$HOME/Documents" ]; then
|
if [ -d "$HOME/Documents" ]; then
|
||||||
getDotfiles
|
getDotfiles
|
||||||
whiptail --title "CocoASAIS" --msgbox "All done!" 0 0
|
whiptail --title "CocoASAIS" --msgbox "All done!" 0 0
|
||||||
|
|
Loading…
Reference in New Issue