]> git.sev.monster Git - dotfiles.git/commitdiff
install.sh: remove redundant sed commands
authorsev <git@sev.monster>
Sat, 27 Jan 2024 23:32:53 +0000 (17:32 -0600)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:41 +0000 (16:27 -0500)
install.sh

index 5fd522af571d8db410ea9b965f8c083ca8a6322c..5232abf4eae7a072e04d6b9595a225fb5ce0f178 100755 (executable)
@@ -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"
This page took 0.034317 seconds and 4 git commands to generate.