diff --git a/easy-arch.sh b/easy-arch.sh index b5b2fc4..946976e 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -211,7 +211,7 @@ locale_selector () { '') locale="en_US.UTF-8" info_print "$locale will be the default locale." return 0;; - '/') sed -E '/^# +|^#$/d;s/^#| *$//g;s/ .*/ (Charset:&)/' /etc/locale.gen | less -M + '/') sed -E '/^# +|^#$/d;s/^#| *$//g;s/ .*/ (Charset:&)/' /etc/locale.gen | less -M clear return 1;; *) if ! grep -q "^#\?$(sed 's/[].*[]/\\&/g' <<< $locale) " /etc/locale.gen; then @@ -479,4 +479,4 @@ done # Finishing up. info_print "Done, you may now wish to reboot (further changes can be done by chrooting into /mnt)." -exit \ No newline at end of file +exit