Package: cron-apt
Version: 0.4.0
Severity: wishlist
Tags: patch

Please consider the attached one-line patch which will include the
value of $APTCOMMAND to the CRON-APT LINE informational output. It
might be important for debugging to know which command was actually
called with the parameters already listed.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages cron-apt depends on:
ii  apt              0.6.41.0mvo1            Advanced front-end for dpkg
ii  bash             3.0-16                  The GNU Bourne Again SHell
ii  debianutils      2.14.3                  Miscellaneous utilities specific t
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

Versions of packages cron-apt recommends:
ii  liblockfile1                  1.06       NFS-safe locking library, includes

-- no debconf information
diff -urN cron-apt-0.4.0/debian/changelog cron-apt-0.4.1/debian/changelog
--- cron-apt-0.4.0/debian/changelog     2005-10-07 18:54:05.000000000 +0000
+++ cron-apt-0.4.1/debian/changelog     2005-10-08 18:51:35.000000000 +0000
@@ -1,3 +1,9 @@
+cron-apt (0.4.1) unstable; urgency=low
+
+  * add $APTCOMMAND to the CRON-APT line output.
+
+ -- Marc Haber <[EMAIL PROTECTED]>  Sat,  8 Oct 2005 18:51:24 +0000
+
 cron-apt (0.4.0) unstable; urgency=low
 
   * Last config file fix was even more ambigous as before. Now it is
diff -urN cron-apt-0.4.0/src/cron-apt cron-apt-0.4.1/src/cron-apt
--- cron-apt-0.4.0/src/cron-apt 2005-10-07 18:32:28.000000000 +0000
+++ cron-apt-0.4.1/src/cron-apt 2005-10-08 18:51:21.000000000 +0000
@@ -423,7 +423,7 @@
            sed -e "s/#.*$//;" | \
            grep -v "^[[:space:]]*$" | {
                while read LINE ; do
-                   echo "CRON-APT LINE: $LINE" > "$TEMP"
+                   echo "CRON-APT LINE: $APTCOMMAND $LINE" > "$TEMP"
                    if [ -x /usr/bin/dotlockfile ] ; then
                        if ! dotlockfile -l -p -r 10 $LOCKFILE; then
                            echo > $TEMP "cannot acquire apt lock."

Reply via email to