1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-26 06:53:44 +01:00
This commit is contained in:
kprkpr
2016-05-30 13:01:20 +02:00
parent 853416c4c7
commit f3a87b243e

View File

@@ -101,35 +101,27 @@ case $opta in
*5*) *5*)
packa="$packa otter-browser";;& packa="$packa otter-browser";;&
esac esac
echo $packa
pause
pacman -S $packa --noconfirm 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` 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 case $optb in
*1*) *1*)
pacman -S libreoffice-fresh --noconfirm packb="libreoffice-fresh";;&
;;
*2*) *2*)
pacman -S abiword --noconfirm packb="$packb abiword";;&
;;
*3*) *3*)
pacman -S gnumeric --noconfirm packb="$packb gnumeric";;&
;;
*4*) *4*)
pacman -S wps-office --noconfirm packb="$packb wps-office";;&
;;
*5*) *5*)
pacman -S leafpad --noconfirm packb="$packb leafpad";;&
;;
*6*) *6*)
pacman -S gedit --noconfirm packb="$packb gedit";;&
;;
*7*) *7*)
pacman -S notepadqq --noconfirm packb="$packb notepadqq";;&
;;
esac esac
pacman -S $packb --noconfirm
} }