Subversion Repositories sa-exim

Compare Revisions

Ignore whitespace Rev 15 → Rev 14

/trunk/debian/postrm
1,9 → 1,7
#!/bin/sh
set -e
 
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
fi
. /usr/share/debconf/confmodule
 
LOCALSCANCONF=/etc/exim4/conf.d/main/15_sa-exim_plugin_path
DISABLELOCALSCANTEXT='# sa-exim plugin is disabled, because it was uninstalled'
37,10 → 35,7
/etc/init.d/exim4 reload || true
fi
fi
# 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
if [ -e /var/spool/sa-exim ] && ! rmdir /var/spool/sa-exim 2>/dev/null ; then
db_version 2.0
db_input medium sa-exim/purge_spool || true
db_go || true