[Pkg-dspam-misc] Bug#626286: libdspam7-drv-sqlite3: cron.daily file yields errors

Aaron M. Ucko ucko at debian.org
Thu May 12 19:47:28 UTC 2011


Julien Valroff <julien at debian.org> writes:

> This file was dropped from libdspam7-drv-sqlite3 and should not exist on
> your system.

I see; sorry for overlooking that fact.  In that case, to ensure proper
cleanup, I'd recommend adding the lines

if dpkg-maintscript-helper supports rm_conffile >/dev/null 2>&1; then
    dpkg-maintscript-helper rm_conffile \
        /etc/cron.daily/libdspam7-drv-sqlite3 \
        3.9.1~rc1+git20110419.29261fb+dfsg-2
fi

to the package's preinst, postinst, and postrm scripts.  (As its manpage
documents, dpkg-maintscript-helper will consult DPKG_MAINTSCRIPT_NAME
and take appropriate action.  The conditional skips the operation, which
isn't critical, on systems with old versions of dpkg.)

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu





More information about the Pkg-dspam-misc mailing list