Fix typo.
This commit is contained in:
parent
0746fc80df
commit
3902511b4d
1 changed files with 2 additions and 2 deletions
|
@ -5,9 +5,9 @@ updateCacheReminder() {
|
||||||
# Overwrite previous adminCacheReminderHider with the default one.
|
# Overwrite previous adminCacheReminderHider with the default one.
|
||||||
oldClassName=$(cat .blueprint/data/internal/db/randomclassname);
|
oldClassName=$(cat .blueprint/data/internal/db/randomclassname);
|
||||||
newClassName=$RANDOM;
|
newClassName=$RANDOM;
|
||||||
mv public/assets/extensions/blueprint/misc/cacheOverlay-$oldClassName public/assets/extensions/blueprint/misc/cacheOverlay-$newClassName;
|
mv public/assets/extensions/blueprint/misc/cacheOverlay-$oldClassName.css public/assets/extensions/blueprint/misc/cacheOverlay-$newClassName.css;
|
||||||
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" public/assets/extensions/blueprint/blueprint.style.css;
|
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" public/assets/extensions/blueprint/blueprint.style.css;
|
||||||
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" resources/views/layouts/admin.blade.php;
|
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" resources/views/layouts/admin.blade.php;
|
||||||
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" public/assets/extensions/blueprint/misc/cacheOverlay-$newClassName;
|
sed -i "s~cacheOverlay-$oldClassName~cacheOverlay-$newClassName~g" public/assets/extensions/blueprint/misc/cacheOverlay-$newClassName.css;
|
||||||
echo "$newClassName" > .blueprint/data/internal/db/randomclassname;
|
echo "$newClassName" > .blueprint/data/internal/db/randomclassname;
|
||||||
}
|
}
|
Loading…
Reference in a new issue