Bug#358575: [Pkg-mailman-hackers] Bug#358575: Doesn't seem to be fixed in 3.1r3

Sam Morris sam at robots.org.uk
Wed Sep 6 08:49:43 UTC 2006


mailman:
  Installed: 2.1.5-8sarge3
  Candidate: 2.1.5-8sarge3
  Version table:
 *** 2.1.5-8sarge3 0
        540 http://ftp.nl.debian.org sarge/main Packages
        100 /var/lib/dpkg/status
     2.1.5-8sarge2 0
        540 http://security.debian.org sarge/updates/main Packages


ii  mailman        2.1.5-8sarge3  Powerful, web-based mailing list manager


#! /bin/sh -e
# $URL: svn+ssh://svn.debian.org/svn/pkg-mailman/trunk/debian/postrm $
# $Id: postrm 39 2004-03-28 21:11:33Z bsb $

# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
        update-rc.d mailman remove >/dev/null || exit 0
fi
# End automatically added section
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule
        db_purge
fi
# End automatically added section


if [ "$1" = purge ]; then
  # HACK: At present there is no way to ask ucf for registered files
  #       except for directly querying its database.
  echo -n "Purging files from ucf database " >&2
  for file in $(sed -e ':/etc/mailman:!d' -e 's:^[0-9a-f]* *::' /var/lib/ucf/hashfile); do
    ucf --purge ${file} 2>/dev/null
    echo -n . >&2
  done
  ucf --purge /etc/cron.d/mailman 2>/dev/null
  echo ". done." >&2
fi

if [ "$1" = purge ]; then
  rm -f /etc/cron.d/mailman
  rm -rf /etc/mailman
  rm -rf /var/log/mailman
#  rm -rf /var/lib/mailman
fi


-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20060906/15afe0c6/attachment.pgp


More information about the Pkg-mailman-hackers mailing list