Apply reconfigure fix to ARM and FileBrowser services

- Added check_service_exists() to ARM (Automatic Ripping Machine)
- Added check_service_exists() to FileBrowser
- Both now show Skip/Reconfigure/Restart options
- Prevents accidental overwrite of existing configurations

Progress: 5/24 services complete (Immich, AudioBookshelf, Emby, ARM, FileBrowser)
This commit is contained in:
Claude
2026-01-12 17:52:47 +00:00
parent 4a7dd2e654
commit 53f0101f9b
+12 -4
View File
@@ -3076,8 +3076,11 @@ EMBY_ENV
fi
if [ "$INSTALL_ARM" = "y" ] || [ "$INSTALL_ARM" = "Y" ]; then
echo "Installing A.R.M...."
ARM_DIR="$DOCKER_DIR/arm"
check_service_exists "A.R.M." "$ARM_DIR" ARM_RECONFIGURE
if [ "$ARM_RECONFIGURE" = "true" ]; then
echo "Installing A.R.M...."
if [ "$DRY_RUN" = true ]; then
echo "[DRY-RUN] Would create $ARM_DIR"
@@ -3146,7 +3149,8 @@ ARM_ENV
echo " Note: Edit docker-compose.yml to add more optical drives"
echo ""
fi
fi
fi # End ARM_RECONFIGURE check
fi # End INSTALL_ARM check
# ---- FILEBROWSER ----
if [ "$WHIPTAIL_USED" != true ] && [ -z "$INSTALL_FILEBROWSER" ]; then
@@ -3160,8 +3164,11 @@ ARM_ENV
fi
if [ "$INSTALL_FILEBROWSER" = "y" ] || [ "$INSTALL_FILEBROWSER" = "Y" ]; then
echo "Installing Filebrowser..."
FB_DIR="$DOCKER_DIR/filebrowser"
check_service_exists "FileBrowser" "$FB_DIR" FB_RECONFIGURE
if [ "$FB_RECONFIGURE" = "true" ]; then
echo "Installing Filebrowser..."
if [ "$DRY_RUN" = true ]; then
echo "[DRY-RUN] Would create $FB_DIR"
@@ -3223,7 +3230,8 @@ FB_SETTINGS
echo " Default login: admin / admin (change immediately!)"
echo ""
fi
fi
fi # End FB_RECONFIGURE check
fi # End INSTALL_FILEBROWSER check
# ---- MAGIC MIRROR ----
if [ "$WHIPTAIL_USED" != true ] && [ -z "$INSTALL_MAGICMIRROR" ]; then