vdr/vdradmin/debian/patches 01_dist-var.dpatch
Thomas Schmidt
pkg-vdr-dvb-changes@lists.alioth.debian.org
Tue, 26 Oct 2004 10:30:08 +0000
Update of /cvsroot/pkg-vdr-dvb/vdr/vdradmin/debian/patches
In directory haydn:/tmp/cvs-serv25258/vdradmin/debian/patches
Modified Files:
01_dist-var.dpatch
Log Message:
* build-dep on dpatch (>= 2.0.9)
* converted dpatch-files to short format
Index: 01_dist-var.dpatch
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdradmin/debian/patches/01_dist-var.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 01_dist-var.dpatch 27 May 2004 15:08:45 -0000 1.1
+++ 01_dist-var.dpatch 26 Oct 2004 10:30:06 -0000 1.2
@@ -1,26 +1,10 @@
-#! /bin/sh -e
+#! /bin/sh /usr/share/dpatch/dpatch-run
+
## 01_dist-var.dpatch by Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
-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
+## DP: Change vdradmin.pl to search for it's files in system-directories,
+## DP: instead of local, relative paths
@DPATCH@
diff -urNad /home/chelli/vdr/cvs/vdr/vdradmin/vdradmind.pl vdradmin/vdradmind.pl