1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-16 02:01:32 +01:00
This commit is contained in:
kprkpr
2016-05-29 22:38:52 +02:00
parent 48026d5e7f
commit 50c7578be3
3 changed files with 16 additions and 12 deletions

View File

@@ -9,7 +9,8 @@ options=($(cat /etc/locale.gen | grep '^#[a-ZA-Z]' | cut -c2-30 | cut -f1 -d"_"
select opt in "${options[@]}"
do
case $opt in
*) langabr=$opt;break;;
[1-9]*) langabr=$opt;break;;
*) echo "Invalid option";;
esac
done
clear
@@ -17,7 +18,8 @@ options=($(cat /etc/locale.gen | grep '^#'$langabr | cut -c2-30 | cut -f1 -d" "
select opt in "${options[@]}"
do
case $opt in
*) opclang=$opt;break;;
[1-9]*) opclang=$opt;break;;
*) echo "Invalid option";;
esac
done