--include="*.xml"

This commit is contained in:
Alexandre
2025-02-28 07:42:53 +01:00
committed by GitHub
parent 8b896043d0
commit 4b7b173b28

View File

@@ -35,7 +35,7 @@ if [[ -d "/homeassistant/addons_config/jellyfin" ]]; then
fi
# Correct metadata path
grep -rl "/config/addons_config/jellyfin" "$LOCATION" | xargs sed -i "s|/config/addons_config/jellyfin|$LOCATION|g"
grep -rl "/config/addons_config/jellyfin" "$LOCATION" --include="*.xml" | xargs sed -i "s|/config/addons_config/jellyfin|$LOCATION|g" || true
# Migrate autoscripts
if [ -f "/homeassistant/addons_autoscripts/$slug.sh" ]; then