From a1026a287a2eaba70cdd1cfe6bf0b8aebf6fde06 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Mon, 13 Mar 2023 04:13:01 +0100 Subject: [PATCH] Oops --- archx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archx.sh b/archx.sh index 5c6f56b..fb31ead 100644 --- a/archx.sh +++ b/archx.sh @@ -321,7 +321,7 @@ basic_postinstall(){ cat "$f" | grep "\[Match\]" --after-context 999 | sed -z 's/\n\n/.*/\n/g' | grep -q "MACAddress=" if [[ $? -eq 0 ]]; then # Remove Name= match clause - sed -z -i 's/Name=.*\n//g' "$f" + sed -z -i 's/Name=.*?\n//g' "$f" fi done