mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 09:41:31 +01:00
dev
This commit is contained in:
@@ -45,6 +45,14 @@ function inchroot {
|
||||
chroot /mnt /bin/bash -c "$*"
|
||||
}
|
||||
|
||||
function optstate {
|
||||
if [[ $1 =~ "$2" ]];then
|
||||
echo "on"
|
||||
else
|
||||
echo "off"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
function particiones {
|
||||
clear
|
||||
@@ -457,6 +465,7 @@ case $tipoinstall in
|
||||
;;
|
||||
2) mostrardialog "Programas predeterminados" "Ahora se van a instalar los programas predeterminados, espere"
|
||||
esac
|
||||
packages="" #Erase var before
|
||||
case $opt1 in
|
||||
*1*) packages="firefox";;&
|
||||
*2*) packages="$packages google-chrome";;&
|
||||
|
||||
Reference in New Issue
Block a user