This commit is contained in:
Santiago Lo Coco 2022-02-08 01:13:05 -03:00
parent 332e609218
commit ad56f1ff64
2 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,13 @@
source scripts/common.sh
# setDialogBox "whiptail"
# term=ANSI
# setDialogBox "plain"
setDialogBox "dialog"
displayDialogBox --infobox "\nUpdating sadedot submodule." VALUES
displayDialogBox --yesno "\nWould you like to set up gitconfig?" VALUES || return
displayDialogBox --yesno "\nWould you like to set up gitconfig?" || return
displayDialogBox --msgbox "\nNow, I will ask you for data to set up gitconfig personal account."
displayDialogBox --msgbox "\nNow, I will ask you for data to set up gitconfig personal account." VALUES
gitPersonalName=$(displayDialogBox --inputbox "\nEnter a name." VALUES 3>&1 1>&2 2>&3)
gitPersonalMail=$(displayDialogBox --inputbox "\nEnter an e-mail." VALUES 3>&1 1>&2 2>&3)
displayDialogBox --yesno "$msg" && break

View File

@ -132,7 +132,7 @@ startRice() {
fi
msg="${msg}. Would you like to continue?"
displayDialogBox --title "sadedot" --yesno "$msg" || return
displayDialogBox --infobox "\nUpdating sadedot submodule."
displayDialogBox --infobox "\nUpdating sadedot submodule." VALUES
{ cd ..; sh sadedot/scripts/update.sh 2>&1 | debug; }
getGitconfigData
source scripts/linkFiles.sh