Subversion Repositories sa-exim

Compare Revisions

Ignore whitespace Rev 14 → Rev 15

/trunk/debian/postrm
1,7 → 1,9
#!/bin/sh
set -e
 
. /usr/share/debconf/confmodule
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
fi
 
LOCALSCANCONF=/etc/exim4/conf.d/main/15_sa-exim_plugin_path
DISABLELOCALSCANTEXT='# sa-exim plugin is disabled, because it was uninstalled'
35,7 → 37,10
/etc/init.d/exim4 reload || true
fi
fi
if [ -e /var/spool/sa-exim ] && ! rmdir /var/spool/sa-exim 2>/dev/null ; then
# In the rather uncommon event that debconf has been removed before
# us, we have no choice but leaving the spool directory alone.
if [ -e /var/spool/sa-exim ] && ! rmdir /var/spool/sa-exim 2>/dev/null
&& [ -f /usr/share/debconf/confmodule ]; then
db_version 2.0
db_input medium sa-exim/purge_spool || true
db_go || true