mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Update easy-arch.sh
This commit is contained in:
parent
3d965a4bd3
commit
eafdf98e07
1 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ locale_selector () {
|
||||||
'') locale="en_US.UTF-8"
|
'') locale="en_US.UTF-8"
|
||||||
info_print "$locale will be the default locale."
|
info_print "$locale will be the default locale."
|
||||||
return 0;;
|
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
|
clear
|
||||||
return 1;;
|
return 1;;
|
||||||
*) if ! grep -q "^#\?$(sed 's/[].*[]/\\&/g' <<< $locale) " /etc/locale.gen; then
|
*) if ! grep -q "^#\?$(sed 's/[].*[]/\\&/g' <<< $locale) " /etc/locale.gen; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue