1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 10:11:32 +01:00
This commit is contained in:
kprkpr
2016-06-02 21:21:04 +02:00
parent 3209468ae3
commit e72261bf5e

View File

@@ -35,17 +35,17 @@ echo "Escoja su idioma. Se irá desde la abreviatura general, a la particular"
options=($(cat /etc/locale.gen | grep '^#[a-zA-Z]' | cut -c2-30 | cut -f1 -d"_" | sort | uniq))
select opt in "${options[@]}"
do
case $opt in
*) langabr=$opt;break;;
esac
case $opt in
*) langabr=$opt;break;;
esac
done
clear
options=($(cat /etc/locale.gen | grep '^#'$langabr | cut -c2-30 | cut -f1 -d" " | sort | uniq))
select opt in "${options[@]}"
do
case $opt in
*) opclang=$opt;break;;
esac
case $opt in
*) opclang=$opt;break;;
esac
done
langinst=$(cat /etc/locale.gen | grep -m1 '^#'$opclang | cut -c2-40)