From e0c998143d1b77824b7f446d6250d55e5d8b80d0 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 16 Jul 2023 14:09:51 +0200 Subject: [PATCH] fix check --- usr/lib/archboot/installer/configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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