summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Romig2017-08-14 08:49:32 +0100
committerNeil Romig2017-08-14 08:49:32 +0100
commit0f609432cda852e0bc12c640a60bf607c96fa013 (patch)
tree7b06a7aa4b09ba473ae9353c9877cdef12c17302
parentf5439d7414ea7556236f3194fa5c636e31cae62a (diff)
downloadaur-0f609432cda852e0bc12c640a60bf607c96fa013.tar.gz
corrected typo
-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() {