Hello

On Sat, Oct 08, 2005 at 08:53:21PM +0200, Marc Haber wrote:
> 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.

Yes this is something I have thought of, for some time. Thanks a lot.

Regards,

// Ola

> 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."


-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to