fix check

This commit is contained in:
Tobias Powalowski 2023-07-16 14:09:51 +02:00
parent b414a09428
commit e0c998143d

View file

@ -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