Change numbers

This commit is contained in:
RealStickman 2021-03-15 14:31:06 +01:00
parent 41983fb9a7
commit ff02bc315e

View File

@ -37,23 +37,23 @@ done
#in_tor=0 #in_tor=0
cmd=(dialog --separate-output --checklist "Select browsers:" 22 76 16) cmd=(dialog --separate-output --checklist "Select browsers:" 22 76 16)
options=(1 "Firefox" on # any option can be set to default to "on" options=(0 "Firefox" on # any option can be set to default to "on"
2 "Chromium" off 10 "Chromium" off
3 "Torbrowser" on) 20 "Torbrowser" on)
choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty)
clear clear
for choice in $choices for choice in $choices
do do
case $choice in case $choice in
1) 0)
#in_firefox=1 #in_firefox=1
echo "firefox" >> "$setupdir/selectedpkgs.txt" echo "firefox" >> "$setupdir/selectedpkgs.txt"
;; ;;
2) 10)
#in_chromium=1 #in_chromium=1
echo "chromium" >> "$setupdir/selectedpkgs.txt" echo "chromium" >> "$setupdir/selectedpkgs.txt"
;; ;;
3) 20)
#in_tor=1 #in_tor=1
echo "torbrowser-launcher" >> "$setupdir/selectedpkgs.txt" echo "torbrowser-launcher" >> "$setupdir/selectedpkgs.txt"
;; ;;