| 1 |
#! /bin/sh -e
|
| 2 |
## 01_conffiles.dpatch by Joerg Jaspert <joerg@debian.org>
|
| 3 |
## (original made by some of the former maintainers)
|
| 4 |
##
|
| 5 |
## All lines beginning with `## DP:' are a description of the patch.
|
| 6 |
## DP: Comments USER and ACCESS entries in rscsi file.
|
| 7 |
|
| 8 |
if [ $# -ne 1 ]; then
|
| 9 |
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
| 10 |
exit 1
|
| 11 |
fi
|
| 12 |
case "$1" in
|
| 13 |
-patch) patch -f --no-backup-if-mismatch -p1 < $0;;
|
| 14 |
-unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
|
| 15 |
*)
|
| 16 |
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
| 17 |
exit 1;;
|
| 18 |
esac
|
| 19 |
|
| 20 |
exit 0
|
| 21 |
|
| 22 |
@DPATCH@
|
| 23 |
diff -urNad cdrtools-2.01.01~/rscsi/rscsi.dfl cdrtools-2.01.01/rscsi/rscsi.dfl
|
| 24 |
--- cdrtools-2.01.01~/rscsi/rscsi.dfl 2005-08-09 15:19:20.000000000 +0200
|
| 25 |
+++ cdrtools-2.01.01/rscsi/rscsi.dfl 2006-03-20 21:02:43.116442448 +0100
|
| 26 |
@@ -31,7 +31,7 @@
|
| 27 |
#
|
| 28 |
# USER= entries are checked with a pattern matcher. USER=* matches all users.
|
| 29 |
#
|
| 30 |
-USER=rscsi
|
| 31 |
+#USER=rscsi
|
| 32 |
#USER=joerg
|
| 33 |
|
| 34 |
#
|