r1200 - in zope-textindexng3/trunk/debian/patches (DPATCH)
Fabio Tranchitella
kobold at alioth.debian.org
Thu Mar 6 16:05:47 UTC 2008
Date: Thursday, March 6, 2008 @ 16:05:46
Author: kobold
Revision: 1200
Added DPATCH.
Added:
zope-textindexng3/trunk/debian/patches/DPATCH
Added: zope-textindexng3/trunk/debian/patches/DPATCH
===================================================================
--- zope-textindexng3/trunk/debian/patches/DPATCH (rev 0)
+++ zope-textindexng3/trunk/debian/patches/DPATCH 2008-03-06 16:05:46 UTC (rev 1200)
@@ -0,0 +1,16 @@
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+if [ $# -ne 1 ]; then
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1
+fi
+case "$1" in
+ -patch) patch $patch_opts -p1 < $0;;
+ -unpatch) patch $patch_opts -p1 -R < $0;;
+ *)
+ echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+ exit 1;;
+esac
+
+exit 0
More information about the pkg-zope-commits
mailing list