From 0b6d64fdda18194db1c59e871b0c3e6ca54aea76 Mon Sep 17 00:00:00 2001 From: sev Date: Sat, 27 Jan 2024 17:32:53 -0600 Subject: [PATCH] install.sh: remove redundant sed commands --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 5fd522a..5232abf 100755 --- a/install.sh +++ b/install.sh @@ -146,7 +146,7 @@ if command -v librewolf >$devnull 2>&1; then if [ -f "$profiles" ]; then find librewolf/chrome -mindepth 1 -maxdepth 1 -type f | while read -r x; do # vv arcane bullshit vv - sed -En 's/^Path=(.+)/\1/;Tx;p;:x' "$profiles" | while read -r y; do + sed -En 's/^Path=(.+)/\1/;T;p' "$profiles" | while read -r y; do # ignore profiles that are most likely unused # TODO: actually check profiles.ini profile="$DEST/.librewolf/$y" -- 2.47.0