From 7ea172ed7bc28a3650c1dc06732208cde6f815e4 Mon Sep 17 00:00:00 2001 From: JKANetwork Date: Thu, 22 Dec 2016 12:55:27 +0000 Subject: [PATCH] dev --- archinstall/archinstall-dev.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archinstall/archinstall-dev.sh b/archinstall/archinstall-dev.sh index 0238122..ed6f59e 100755 --- a/archinstall/archinstall-dev.sh +++ b/archinstall/archinstall-dev.sh @@ -524,7 +524,7 @@ execl chroot pacman -Sc --noconfirm function horaidioma { while [[ $opclang == "" ]];do varx="" #Empty var -langs=$(cat /mnt/etc/locale.gen | grep '^#[a-zA-Z]' | cut -f1 -d" " | cut -c2-30 | sort | uniq) +langs=$(cat /etc/locale.gen | grep '^#[a-zA-Z]' | cut -f1 -d" " | cut -c2-30 | sort | uniq) for addr in $(echo $langs | tr " " "\n") do varx+=" $addr $addr" @@ -534,7 +534,7 @@ opclang=`bash -c "$varf"` varx="" #Empty varx langabr=$(echo $opclang | cut -f1 -d"_") -langinst=$(cat /mnt/etc/locale.gen | grep -m1 '^#'$opclang | cut -c2-40) +langinst=$(cat /etc/locale.gen | grep -m1 '^#'$opclang | cut -c2-40) opt=`dialog --stdout --nocancel --menu "$(T "Your language:") $opclang" 0 0 4 1 "$(T "It's right")" 2 "$(T "No,edit")"` case $opt in 2) opclang="";; @@ -544,7 +544,7 @@ done #End of selecting lang echo "$(T "Now select your timezone for adjusting the clock")" while [[ $NEW_TIMEZONE == "" ]];do -NEW_TIMEZONE=$(execl chroot tzselect) +NEW_TIMEZONE=$(execl tzselect) opt=`dialog --stdout --nocancel --menu "$(T "Your timezone:") $NEW_TIMEZONE" 0 0 4 1 "$(T "It's right")" 2 "$(T "No,edit")"` case $opt in 2) NEW_TIMEZONE="";;