From f3a87b243e0c75236d406d00139816c4482d21d0 Mon Sep 17 00:00:00 2001 From: kprkpr Date: Mon, 30 May 2016 13:01:20 +0200 Subject: [PATCH] changes --- archinstall/chrootinstall.sh | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) 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 }