From ad56f1ff64e9a6dbf73f727dd8628a098499e7d2 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 8 Feb 2022 01:13:05 -0300 Subject: [PATCH] Fix bug --- dialog.sh | 8 +++++++- scripts/bootstrap.sh | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dialog.sh b/dialog.sh index 45daa4a..1c394b8 100644 --- a/dialog.sh +++ b/dialog.sh @@ -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 diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 777ba12..56015ab 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -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