From b9cf8f3973cc4be1df4cd50ad3b2a6ef38a99eb5 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 8 Oct 2021 01:33:48 +0200 Subject: [PATCH] sfx-repack: fix no-dd killing the loader animation --- scripts/make-sfx.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/make-sfx.sh b/scripts/make-sfx.sh index 16c46444..6d66bb0e 100755 --- a/scripts/make-sfx.sh +++ b/scripts/make-sfx.sh @@ -238,7 +238,7 @@ rm have rm -rf copyparty/web/dd f=copyparty/web/browser.css gzip -d "$f.gz" || true - sed -r 's/(cursor: ?)url\([^)]+\), ?(pointer)/\1\2/; /[0-9]+% \{cursor:/d; /animation: ?cursor/d' <$f >t + sed -r 's/(cursor: ?)url\([^)]+\), ?(pointer)/\1\2/; s/[0-9]+% \{cursor:[^}]+\}//; s/animation: ?cursor[^};]+//' <$f >t tmv "$f" } @@ -271,7 +271,7 @@ find | grep -E '\.css$' | while IFS= read -r f; do } !/\}$/ {printf "%s",$0;next} 1 - ' <$f | sed 's/;\}$/}/' >t + ' <$f | sed -r 's/;\}$/}/; /\{\}$/d' >t tmv "$f" done unexpand -h 2>/dev/null &&