mirror of
https://github.com/unraid/webgui.git
synced 2026-01-04 16:40:21 -06:00
fix: ensure new banner file creation by removing old banner in generate-pr-plugin.sh
This commit is contained in:
4
.github/scripts/generate-pr-plugin.sh
vendored
4
.github/scripts/generate-pr-plugin.sh
vendored
@@ -212,6 +212,10 @@ echo ""
|
||||
BACKUP_DIR="/boot/config/plugins/webgui-pr-PR_PLACEHOLDER/backups"
|
||||
MANIFEST="/boot/config/plugins/webgui-pr-PR_PLACEHOLDER/installed_files.txt"
|
||||
|
||||
# Remove old banner file to ensure new one gets created
|
||||
echo "Removing old banner file..."
|
||||
rm -rf "/usr/local/emhttp/plugins/webgui-pr-PR_PLACEHOLDER"
|
||||
|
||||
# First restore original files to ensure clean state
|
||||
if [ -f "$MANIFEST" ]; then
|
||||
echo "Step 1: Restoring original files before update..."
|
||||
|
||||
Reference in New Issue
Block a user