Change number

This commit is contained in:
RealStickman 2021-03-15 14:34:30 +01:00
parent 4fe2f35192
commit 1a1105da4d

View File

@ -220,13 +220,13 @@ done
#in_pkgstats=0 #in_pkgstats=0
cmd=(dialog --separate-output --checklist "Report installed packages?" 22 76 16) cmd=(dialog --separate-output --checklist "Report installed packages?" 22 76 16)
options=(1 "pkgstats" off) options=(0 "pkgstats" off)
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_pkgstats=1 #in_pkgstats=1
echo "pkgstats" >> "$setupdir/selectedpkgs.txt" echo "pkgstats" >> "$setupdir/selectedpkgs.txt"
;; ;;