diff --git a/usr/lib/archboot/installer/configuration.sh b/usr/lib/archboot/installer/configuration.sh index 10342dfd1..db7a249d3 100644 --- a/usr/lib/archboot/installer/configuration.sh +++ b/usr/lib/archboot/installer/configuration.sh @@ -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