summarylogtreecommitdiffstats
path: root/courier-mta.install
diff options
context:
space:
mode:
authorNeil Romig2017-08-14 14:00:34 +0100
committerNeil Romig2017-08-14 14:00:34 +0100
commit2195dc473bedbdfabe0bc2af73ed6b925871c8de (patch)
treef3ff7c86b08e2b7c2913bb488e4f7e3e1f27506b /courier-mta.install
parent0f609432cda852e0bc12c640a60bf607c96fa013 (diff)
downloadaur-2195dc473bedbdfabe0bc2af73ed6b925871c8de.tar.gz
Tidied up variable names and quotes in PKGBUILD, minor change to .install
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() {