dvb/linuxtv-dvb-apps/debian/patches 01_README.scan.dpatch

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 10 Oct 2004 13:45:18 +0000


Update of /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb-apps/debian/patches
In directory haydn:/tmp/cvs-serv20127/dvb/linuxtv-dvb-apps/debian/patches

Modified Files:
	01_README.scan.dpatch 
Log Message:
* build-dep on dpatch (>= 2.0.9)
* converted 01_README.scan.dpatch to the short format ;)

Index: 01_README.scan.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb-apps/debian/patches/01_README.scan.dpatch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- 01_README.scan.dpatch	28 Sep 2004 13:54:57 -0000	1.3
+++ 01_README.scan.dpatch	10 Oct 2004 13:45:16 -0000	1.4
@@ -1,26 +1,8 @@
-#! /bin/sh -e
+#! /bin/sh /usr/share/dpatch/dpatch-run
 ## 01_README.scan.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
 ## DP: change Readme to list Debian-specific Paths
-
-if [ $# -lt 1 ]; then
-    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
-    exit 1
-fi
-
-[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
-patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
-
-case "$1" in
-    -patch) patch -p1 ${patch_opts} < $0;;
-    -unpatch) patch -R -p1 ${patch_opts} < $0;;
-    *)
-        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
-        exit 1;;
-esac
-
-exit 0
 
 @DPATCH@
 diff -urNad /home/chelli/vdr/cvs/dvb/linuxtv-dvb-apps/util/scan/README linuxtv-dvb-apps/util/scan/README