diff options
author | Neil Romig | 2017-08-14 08:49:32 +0100 |
---|---|---|
committer | Neil Romig | 2017-08-14 08:49:32 +0100 |
commit | 0f609432cda852e0bc12c640a60bf607c96fa013 (patch) | |
tree | 7b06a7aa4b09ba473ae9353c9877cdef12c17302 | |
parent | f5439d7414ea7556236f3194fa5c636e31cae62a (diff) | |
download | aur-0f609432cda852e0bc12c640a60bf607c96fa013.tar.gz |
corrected typo
-rw-r--r-- | courier-mta.install | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/courier-mta.install b/courier-mta.install index 51b49200ddc1..a7783d521840 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() { |