[Pkg-roundcube-maintainers] Bug#471779: roundcube: postrm purge should run a db_purge to clean the debconf db
micah at debian.org
Thu Mar 20 03:26:29 UTC 2008
According to The Debconf Programmer's Tutorial:
There is one other alteration you need to make to the postrm
script. When your package is purged, it should get rid of all the
questions and templates it was using in the database. Accomplishing
this is simple; use the "purge" command (make sure you don't fail if
debconf has already been removed, though):
if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
# Source debconf library.
# Remove my changes to the db.
Note: Debhelper will do this for you if you use the
Roundcube is currently not doing this in the postrm purge, resulting in things left over when they probably shouldn't be.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages roundcube depends on:
ii roundcube-core 0.1-4 skinnable AJAX based webmail solut
ii roundcube-mysql [roundcube-db 0.1-4 virtual package providing MySQL de
roundcube recommends no packages.
-- no debconf information
More information about the Pkg-roundcube-maintainers