Package: apticron
Version: 1.1.27
Severity: normal
Tags: patch

Hello,

Apticron uses the -a option, which for different mailx packages means different
things. With bsd-mailx, it means adding a header ; with heirloom-mailx, it
means attaching a file.

Since you are already depending on bsd-mailx, why don't you just do what you
want, that is invoking /usr/bin/bsd-mailx instead of /usr/bin/mailx which may
be a symlink to one or the other ? As in :

--- /usr/sbin/apticron  2009-01-31 16:18:46.000000000 +0100
+++ apticron    2009-04-15 11:12:16.000000000 +0200
@@ -240 +240 @@
-   ) 2>&1 | /usr/bin/mailx -a "Content-type: text/plain; charset=UTF-8" -s 
"$DISTRIB_ID package updates on $SYSTEM" $EMAIL
+   ) 2>&1 | /usr/bin/bsd-mailx -a "Content-type: text/plain; charset=UTF-8" -s 
"$DISTRIB_ID package updates on $SYSTEM" $EMAIL

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apticron depends on:
ii  apt                0.7.20.2              Advanced front-end for dpkg
ii  bsd-mailx          8.1.2-0.20071201cvs-3 A simple mail user agent
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  ucf                3.0016                Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.83       package change history notificatio
ii  iproute                       20080725-2 networking and traffic control too

apticron suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to