From 7b6a5ffebe5198349714e5792e69c76a6a52097f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 28 Jun 2024 14:31:35 +0200 Subject: [PATCH] replace grep with rg and sed with sd --- usr/lib/archboot/installer/autoconfiguration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/autoconfiguration.sh b/usr/lib/archboot/installer/autoconfiguration.sh index 6744490e8..e3769a159 100644 --- a/usr/lib/archboot/installer/autoconfiguration.sh +++ b/usr/lib/archboot/installer/autoconfiguration.sh @@ -86,7 +86,7 @@ _auto_swap () { _auto_mdadm() { if [[ -e ${_DESTDIR}/etc/mdadm.conf ]]; then - if rg -q ^md /proc/mdstat 2>"${_NO_LOG}"; then + if rg -q '^md' /proc/mdstat 2>"${_NO_LOG}"; then _progress "34" "Enable mdadm settings on installed system..." mdadm -Ds >> "${_DESTDIR}"/etc/mdadm.conf fi