fix check

This commit is contained in:
Tobias Powalowski 2023-07-16 14:07:26 +02:00
parent 69d284cdc1
commit b414a09428

View file

@ -31,7 +31,7 @@ _set_mkinitcpio() {
}
_set_locale() {
if [[ -z "${_S_LOCALE}" && ! -e "/tmp/.localize" && "$(grep -qw '^archboot' /etc/hostname)" ]]; then
if [[ -z "${_S_LOCALE}" && $(grep -qw '^archboot' /etc/hostname) && ! -e "/tmp/.localize" ]]; then
localize
_auto_locale
_auto_set_locale