diff --git a/archinstall/chrootinstall.sh b/archinstall/chrootinstall.sh index 53c5a31..cf34dfe 100755 --- a/archinstall/chrootinstall.sh +++ b/archinstall/chrootinstall.sh @@ -101,35 +101,27 @@ case $opta in *5*) packa="$packa otter-browser";;& esac -echo $packa -pause pacman -S $packa --noconfirm optb=`dialog --stdout --checklist "¿Editores de texto y/o office?" 10 40 5 1 "Libreoffice" on 2 "AbiWord" off 3 "Gnumeric" off 4 "WPS Office" off 5 "leafpad (Bloc de notas)" on 6 "gedit" off 7 "notepadqq" off` case $optb in *1*) - pacman -S libreoffice-fresh --noconfirm - ;; + packb="libreoffice-fresh";;& *2*) - pacman -S abiword --noconfirm - ;; + packb="$packb abiword";;& *3*) - pacman -S gnumeric --noconfirm - ;; + packb="$packb gnumeric";;& *4*) - pacman -S wps-office --noconfirm - ;; + packb="$packb wps-office";;& *5*) - pacman -S leafpad --noconfirm - ;; + packb="$packb leafpad";;& *6*) - pacman -S gedit --noconfirm - ;; + packb="$packb gedit";;& *7*) - pacman -S notepadqq --noconfirm - ;; + packb="$packb notepadqq";;& esac +pacman -S $packb --noconfirm }