summarylogtreecommitdiffstats
path: root/courier-mta.install
diff options
context:
space:
mode:
Diffstat (limited to 'courier-mta.install')
-rw-r--r--courier-mta.install8
1 files changed, 7 insertions, 1 deletions
diff --git a/courier-mta.install b/courier-mta.install
index 51b49200ddc..a7783d52184 100644
--- a/courier-mta.install
+++ b/courier-mta.install
@@ -14,7 +14,13 @@ post_install() {
pre_upgrade() {
# the file courier-imapd.conf is renamed to courier-mta.conf for version 0.77.0-2
- [ "$1" != "0.77.0-2" ] && rm -f /usr/lib/tmpfiles.d/courier-imapd.conf
+ [ "$1" = "0.77.0-2" ] && rm -f /usr/lib/tmpfiles.d/courier-imapd.conf
+}
+
+post_upgrade() {
+ echo Performing install-configure...
+ /usr/lib/courier/sysconftool /etc/courier/*.dist > /etc/courier/upgrade-$1.log
+ echo ...output saved to /etc/courier/upgrade-$1.log
}
pre_remove() {