Change welcome msg if steps > 0
This commit is contained in:
parent
20f10577c2
commit
e1e56bd966
|
@ -399,7 +399,13 @@ runScript() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
whiptail --title "CocoASAIS" --msgbox "Welcome to CocoASAIS!" 0 0
|
if [ $i -gt 0 ]; then
|
||||||
|
welcomeMsg="Welcome back to CocoASAIS!"
|
||||||
|
else
|
||||||
|
welcomeMsg="Welcome to CocoASAIS!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
whiptail --title "CocoASAIS" --msgbox "${welcomeMsg}" 0 0
|
||||||
|
|
||||||
while [ $i -le "${#steps[@]}" ]; do
|
while [ $i -le "${#steps[@]}" ]; do
|
||||||
${steps[$i]}
|
${steps[$i]}
|
||||||
|
|
Loading…
Reference in New Issue