Skip to content

Commit

Permalink
Merge pull request #23 from RedcatPhoenix2/patch-4
Browse files Browse the repository at this point in the history
Fix issues with dialog with empty output
  • Loading branch information
ajstrongdev authored Jun 5, 2022
2 parents 4028d84 + 0edd331 commit 8a1abbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rhino-deinst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if ! command -v dialog > /dev/null; then
sudo apt-get install dialog -y
fi

SELECTED=($( dialog --backtitle "Press 'space' to toggle an option, use arrow keys to go up/down, press enter to continue" --erase-on-exit --scrollbar --separate-output --checklist "Select Desktop Environment(s)" 10 35 5 \
SELECTED=($( dialog --backtitle "Press 'space' to toggle an option, use arrow keys to go up/down, press enter to continue" --scrollbar --separate-output --checklist "Select Desktop Environment(s)" 10 35 5 \
"1" "GNOME (Ubuntu)" OFF \
"2" "GNOME Flashback" OFF \
"3" "GNOME" OFF \
Expand Down Expand Up @@ -176,3 +176,4 @@ sudo apt-get install -y ${desktop[@]} "${login_manager}" ${extra_packages}
echo "Set login manager to $login_manager"
sudo dpkg-reconfigure "${login_manager}"
echo "Done!"
clear

0 comments on commit 8a1abbf

Please sign in to comment.