mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix check
This commit is contained in:
parent
b414a09428
commit
e0c998143d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ _set_mkinitcpio() {
|
|||
}
|
||||
|
||||
_set_locale() {
|
||||
if [[ -z "${_S_LOCALE}" && $(grep -qw '^archboot' /etc/hostname) && ! -e "/tmp/.localize" ]]; then
|
||||
if [[ -z "${_S_LOCALE}" && ! -e "/tmp/.localize" ]] && grep -qw '^archboot' /etc/hostname ; then
|
||||
localize
|
||||
_auto_locale
|
||||
_auto_set_locale
|
||||
|
|
Loading…
Reference in a new issue