Add applying patches to the aur packages

This commit is contained in:
Ryan Hughes
2025-10-27 14:11:48 -04:00
parent 33d85d13cf
commit 1c23334c7b
+8
View File
@@ -76,6 +76,14 @@ else
done < <(grep -v "^#" "$PACKAGES_FILE" | grep -v "^$")
fi
# Apply patches for packages that have them
cd "$PKGBUILDS_DIR"
for dir in */; do
if [[ -d "$dir/patches" ]]; then
(cd "$dir" && git apply patches/*.patch 2>/dev/null || true)
fi
done
echo ""
print_success "Sync complete!"
echo " Synced: $SYNCED"