summarylogtreecommitdiffstats
path: root/courier-mta.install
diff options
context:
space:
mode:
Diffstat (limited to 'courier-mta.install')
-rw-r--r--courier-mta.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/courier-mta.install b/courier-mta.install
index a7783d52184..65ed42661c9 100644
--- a/courier-mta.install
+++ b/courier-mta.install
@@ -14,7 +14,7 @@ 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
+ [ -f /usr/lib/tmpfiles.d/courier-imapd.conf ] && rm -f /usr/lib/tmpfiles.d/courier-imapd.conf
}
post_upgrade() {