Rev 15 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15 | Rev 20 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | /etc/init.d/exim4 reload || true |
37 | /etc/init.d/exim4 reload || true |
38 | fi |
38 | fi |
39 | fi |
39 | fi |
40 | # In the rather uncommon event that debconf has been removed before |
40 | # In the rather uncommon event that debconf has been removed before |
41 | # us, we have no choice but leaving the spool directory alone. |
41 | # us, we have no choice but leaving the spool directory alone. |
- | 42 | if [ -e /var/spool/sa-exim ] && |
|
42 | if [ -e /var/spool/sa-exim ] && ! rmdir /var/spool/sa-exim 2>/dev/null |
43 | ! rmdir /var/spool/sa-exim 2>/dev/null && |
43 | && [ -f /usr/share/debconf/confmodule ]; then |
44 | [ -f /usr/share/debconf/confmodule ]; then |
44 | db_version 2.0 |
45 | db_version 2.0 |
45 | db_input medium sa-exim/purge_spool || true |
46 | db_input medium sa-exim/purge_spool || true |
46 | db_go || true |
47 | db_go || true |
47 | db_get sa-exim/purge_spool |
48 | db_get sa-exim/purge_spool |
48 | purge_spool="$RET" |
49 | purge_spool="$RET" |