fix core views: Fix sed range error.

This commit is contained in:
prplwtf 2024-01-30 13:27:07 +01:00
parent 891a346a8e
commit 68bbf03d92
2 changed files with 2 additions and 2 deletions

View file

@ -946,7 +946,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
OLDBUTTON_RESULT=$(<.blueprint/extensions/"$identifier"/private/.store/build/button.blade.php)
sed -i "s~$OLDBUTTON_RESULT~~g" "resources/views/admin/extensions.blade.php"
fi
sed -i "s~<!-- [entry-placeholder] -->~$ADMINBUTTON_RESULT\n<!-- [entry-placeholder] -->~g" "resources/views/admin/extensions.blade.php"
sed -i "s~<!-- [entryplaceholder] -->~$ADMINBUTTON_RESULT\n<!-- [entryplaceholder] -->~g" "resources/views/admin/extensions.blade.php"
# Place dashboard wrapper
if [[ $dashboard_wrapper != "" ]]; then

View file

@ -25,7 +25,7 @@
</a>
</div>
<!-- [entry-placeholder] -->
<!-- [entryplaceholder] -->
@else