Package: pkgsync Severity: normal Tags: patch When having pkgsync removed but not purged, /etc/cron.daily/nightly-pkgsync is still around. It calls pkgsync unconditionally, but shouldn't so. Find attached a patch which checks if /usr/sbin/pkgsync is actually executable.
-- System Information: Debian Release: testing/unstable APT prefers dapper APT policy: (500, 'dapper') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-14-686 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
--- nightly-pkgsync.old 2006-02-03 20:56:54.000000000 +0100 +++ nightly-pkgsync 2006-02-03 20:57:19.000000000 +0100 @@ -7,4 +7,7 @@ export PATH=/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin +if [ -x /usr/sbin/pkgsync ]; then ( /usr/bin/yes n | /usr/sbin/pkgsync >/var/log/pkgsync.log 2>&1 ) || /bin/cat /var/log/pkgsync.log +fi +