From 7d7456f5c55f7169b9ad53499ab0d8b3de694852 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 28 Jun 2024 19:15:32 +0200 Subject: [PATCH] replace grep with rg --- usr/lib/archboot/installer/btrfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/btrfs.sh b/usr/lib/archboot/installer/btrfs.sh index 50e51fd38..e447c376f 100644 --- a/usr/lib/archboot/installer/btrfs.sh +++ b/usr/lib/archboot/installer/btrfs.sh @@ -79,7 +79,7 @@ _check_btrfs_filesystem_creation() { _DETECT_CREATE_FILESYSTEM="" _SKIP_FILESYSTEM="" #shellcheck disable=SC2013 - for i in $(grep "${_DEV}[|#]" /tmp/.parts); do + for i in $(rg "${_DEV}[|#]" /tmp/.parts); do if echo "${i}" | rg -q "\|btrfs\|"; then _FSTYPE="btrfs" _SKIP_FILESYSTEM=1