[DebianGIS-dev] r1976 - packages/postgis/trunk/debian/patches
kobold at alioth.debian.org
kobold at alioth.debian.org
Thu Mar 5 22:10:38 UTC 2009
Author: kobold
Date: 2009-03-05 22:10:38 +0000 (Thu, 05 Mar 2009)
New Revision: 1976
Added:
packages/postgis/trunk/debian/patches/DPATCH
Log:
added missing dpatch
Added: packages/postgis/trunk/debian/patches/DPATCH
===================================================================
--- packages/postgis/trunk/debian/patches/DPATCH (rev 0)
+++ packages/postgis/trunk/debian/patches/DPATCH 2009-03-05 22:10:38 UTC (rev 1976)
@@ -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-grass-devel
mailing list