From 1e6b9fa24eb1972130e8dd2d38ede1b1cd6b1501 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Fri, 2 Jun 2023 15:26:45 -0400 Subject: [PATCH] Remove unnecessary flags from dialog commands --- opensuse-personalizer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opensuse-personalizer.sh b/opensuse-personalizer.sh index 1101b35..d16f6d2 100755 --- a/opensuse-personalizer.sh +++ b/opensuse-personalizer.sh @@ -221,7 +221,7 @@ optional_additions="" function prompt_optional_additions () { - ENTRY=$(dialog --title "Optional Additions" --stdout --no-cancel --single-quoted --output-separator '|' \ + ENTRY=$(dialog --title "Optional Additions" --stdout --no-cancel --erase-on-exit --single-quoted --output-separator '|' \ --checklist "Select any additional configuration changes that you would like applied to the system:" 0 0 0 \ "Xournal++" "Install Xournal++ for taking handwritten notes" OFF \ "EasyEffects" "Install EasyEffects for applying effects (e.g. equalizers) to system audio devices" OFF \ @@ -231,7 +231,7 @@ function prompt_optional_additions () case "${ENTRY}" in "") if - dialog --keep-window --erase-on-exit --title "Chassis Type" --defaultno --yesno "Apply only baseline system configuration?" 0 0 + dialog --title "Chassis Type" --defaultno --yesno "Apply only baseline system configuration?" 0 0 then return 0 else @@ -241,7 +241,7 @@ function prompt_optional_additions () *) if ADDITIONS_LIST=$(echo "${ENTRY}" | sed "s/|/\\\\n * /g" | sed "s/'//g") - dialog --keep-window --erase-on-exit --title "Chassis Type" --defaultno --yesno "Confirm your selection of the following additions:\n${ADDITIONS_LIST}" 0 0 + dialog --title "Chassis Type" --defaultno --yesno "Confirm your selection of the following additions:\n${ADDITIONS_LIST}" 0 0 then optional_additions="${ENTRY}" return 0