Mercurial > noffle
diff debian/postrm @ 392:794030e45053 noffle
[svn] fixed debconf in handling in postrm
author | godisch |
---|---|
date | Sat, 24 May 2003 07:05:53 +0100 |
parents | c36eb2596531 |
children | c2fd00030991 |
line wrap: on
line diff
--- a/debian/postrm Fri May 23 10:33:10 2003 +0100 +++ b/debian/postrm Sat May 24 07:05:53 2003 +0100 @@ -1,9 +1,7 @@ #!/bin/sh -# $Id: postrm 460 2003-02-23 15:16:46Z godisch $ +# $Id: postrm 534 2003-05-24 06:05:53Z godisch $ set -e -. /usr/share/debconf/confmodule -db_version 2.0 server_config=/etc/news/noffle.conf debian_config=/etc/default/noffle @@ -20,8 +18,10 @@ $server_config $server_config.old \ $debian_config $debian_config.old rm -rf /etc/noffle /var/spool/noffle - db_purge + if [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge + fi fi -db_stop exit 0