Change number

This commit is contained in:
RealStickman 2021-03-15 14:32:13 +01:00
parent 6bba7aef80
commit 535d5afcf9

View File

@ -152,13 +152,13 @@ done
in_acpufreq=0 in_acpufreq=0
cmd=(dialog --separate-output --checklist "Performance and Battery life" 22 76 16) cmd=(dialog --separate-output --checklist "Performance and Battery life" 22 76 16)
options=(1 "auto-cpufreq" off) options=(0 "auto-cpufreq" 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_acpufreq=1 in_acpufreq=1
echo "auto-cpufreq-git" >> "$setupdir/aurselectedpkgs.txt" echo "auto-cpufreq-git" >> "$setupdir/aurselectedpkgs.txt"
# TODO Handle rest of installation # TODO Handle rest of installation