Package: apticron
Version: 1.1.12

During the first (fresh) install of apticron, the configure script asks 
for an email adress to report pending updates to. No matter what I'm telling
it, apticron won't take it into its configfile at that time.

After the install has finished, I can manually run 'dpkg-reconfigure
apticron' and the email-adress given then is correctly imported into
/etc/apticron/apticron.conf.


Source of the problem lies in /var/lib/dpkg/info/apticron.config:
---cut
db_get apticron/notification || true

if [ -e /etc/apticron/apticron.conf ] ; then
        sed -e "s/^EMAIL=.*/EMAIL=\"$RET\"/" < /etc/apticron/apticron.conf > 
/etc/apticron/apticron.conf.new
        mv -f /etc/apticron/apticron.conf.new /etc/apticron/apticron.conf
fi
---cut

During the initial install, there is no /etc/apticron/apticron.conf yet,
so the db_get asks for an email-adress, but doesn't use it then.

Regards,

Anders


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

Reply via email to