Fixed patch, I got confused by #633117:

--- /tmp/pct-scanner-script     2011-07-08 17:16:09.601254345 +0200
+++ /usr/bin/pct-scanner-script 2011-07-08 18:06:10.074324987 +0200
@@ -34,6 +34,7 @@
 
 SYSCONF=/etc/pct-scanner-script.conf
 SYSDIR=/etc/pct-scanner-script.conf.d/
+USERCONF=${HOME}/.pct-scanner-script.conf
 PROCESS=/usr/lib/pct-scanner-scripts/pct-scanner-script-process
 
 unset LINEART
@@ -231,6 +232,7 @@
     files="$SYSCONF"
     files+=$'\n'
     files+=$(run-parts --list "$SYSDIR" )
+    [ -r "$USERCONF" ] && files+=$'\n'"$USERCONF"
     if [ -n "$files" ]; then
         while read file; do
             set +e

-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to