Add patch

This commit is contained in:
Ryan Hughes
2025-10-31 16:44:34 -04:00
parent 6e5b64d4d7
commit 5bd9958618
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ fi
cd "$PKGBUILDS_DIR"
for dir in */; do
if [[ -d "$dir/patches" ]]; then
(cd "$dir" && git apply patches/*.patch 2>/dev/null || true)
(cd "$dir" && for patch in patches/*.patch; do patch -p1 --no-backup-if-mismatch < "$patch" 2>/dev/null || true; done)
fi
done