From 83905266caa1fca723983f9fb1e57419dd68419b Mon Sep 17 00:00:00 2001 From: prplwtf Date: Sun, 3 Dec 2023 18:53:19 +0100 Subject: [PATCH] fix(admincache): admin cache refresh does not disappear --- blueprint/lib/updateAdminCacheReminder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprint/lib/updateAdminCacheReminder.sh b/blueprint/lib/updateAdminCacheReminder.sh index 00f48cf..633abf4 100644 --- a/blueprint/lib/updateAdminCacheReminder.sh +++ b/blueprint/lib/updateAdminCacheReminder.sh @@ -6,7 +6,7 @@ updateCacheReminder() { oldClassName=$(cat .blueprint/extensions/blueprint/private/db/randomclassname) newClassName=$RANDOM mv .blueprint/extensions/blueprint/assets/misc/cacheOverlay-$oldClassName.css .blueprint/extensions/blueprint/assets/misc/cacheOverlay-$newClassName.css - sed -i "s~I0TWHOPKAB-$oldClassName~I0TWHOPKAB-$newClassName~g" .blueprint/extensions/blueprint/assets/blueprint.style.css + sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" .blueprint/extensions/blueprint/assets/blueprint.style.css sed -i "s~I0TWHOPKAB-$oldClassName~I0TWHOPKAB-$newClassName~g" resources/views/layouts/admin.blade.php sed -i "s~I0TWHOPKAB-$oldClassName~I0TWHOPKAB-$newClassName~g" .blueprint/extensions/blueprint/assets/misc/cacheOverlay-$newClassName.css echo "$newClassName" > .blueprint/extensions/blueprint/private/db/randomclassname