Merge pull request #417 from outis1one/claude/wolf-pair-port-conflict-7nz8qg

wolf: fix info.zip pack never actually installing (broke content matc…
This commit is contained in:
Outis
2026-09-02 11:41:11 -04:00
committed by GitHub
+11 -1
View File
@@ -1753,7 +1753,17 @@ fuse scummvm"
"autoconfig:$RA_CFG_DIR/autoconfig" \
"info:$CORES_DIR"; do
pack="${pair%%:*}"; dest="${pair#*:}"
[ -d "$dest" ] && [ "$(ls -A "$dest" 2>/dev/null)" ] && [ "$FORCE" != "force" ] && continue
# "info" shares $CORES_DIR with the core .so files downloaded
# above, so "is the destination non-empty" is always true
# there and would skip this pack every time (confirmed
# live: exactly this made every .info file silently never
# install, breaking content-database extension matching for
# every core). Check for its own actual content instead.
if [ "$pack" = "info" ]; then
[ -n "$(ls "$dest"/*.info 2>/dev/null)" ] && [ "$FORCE" != "force" ] && continue
else
[ -d "$dest" ] && [ "$(ls -A "$dest" 2>/dev/null)" ] && [ "$FORCE" != "force" ] && continue
fi
echo "Fetching $pack.zip..."
tmp=$(mktemp)
if curl -fsSL -o "$tmp" "$ASSETS_BASE/$pack.zip"; then