diff --git a/usr/lib/archboot/installer/common.sh b/usr/lib/archboot/installer/common.sh index 86616a3e4..64d1b342d 100644 --- a/usr/lib/archboot/installer/common.sh +++ b/usr/lib/archboot/installer/common.sh @@ -12,7 +12,7 @@ _LSBLK="lsblk -rpno" _FINDMNT="findmnt -vno SOURCE" # don't use _DESTDIR=/mnt because it's intended to mount other things there! # check first if bootet in archboot -if grep -qw '^archboot' /etc/hostname; then +if rg -qw '^archboot' /etc/hostname; then _DESTDIR="/mnt/install" _NSPAWN="systemd-nspawn -q -D ${_DESTDIR}" else @@ -33,7 +33,7 @@ _linux_firmware() { _PACKAGES="${_PACKAGES// linux-firmware / }" #shellcheck disable=SC2013 for i in $(cut -d ' ' -f1