summarylogtreecommitdiffstats
path: root/courier-mta.install
diff options
context:
space:
mode:
authorNeil Romig2017-08-19 18:14:51 +0100
committerNeil Romig2017-08-19 18:14:51 +0100
commit364038680e46c4ceba2e763200f2049129335926 (patch)
treed5bfaae2a7356fc0200a5feaedf17d865c881184 /courier-mta.install
parent1bcd4b35c540486b2902a7c914848af60279b3d4 (diff)
downloadaur-364038680e46c4ceba2e763200f2049129335926.tar.gz
Upgrade to courier-mta-0.78.0
Diffstat (limited to 'courier-mta.install')
-rw-r--r--courier-mta.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/courier-mta.install b/courier-mta.install
index 65ed42661c9..ebde0bfff09 100644
--- a/courier-mta.install
+++ b/courier-mta.install
@@ -13,7 +13,7 @@ post_install() {
}
pre_upgrade() {
- # the file courier-imapd.conf is renamed to courier-mta.conf for version 0.77.0-2
+ # the file courier-imapd.conf is renamed to courier-mta.conf from version 0.77.0-2
[ -f /usr/lib/tmpfiles.d/courier-imapd.conf ] && rm -f /usr/lib/tmpfiles.d/courier-imapd.conf
}
@@ -33,6 +33,6 @@ pre_remove() {
--> /etc/courier has been saved as /etc/courier-$1
EOM
- # clean up the /run and /var/spool directories
- systemd-tmpfiles --remove /usr/lib/tmpfiles.d/courier-mta.conf
+ # clean up temporary storage
+ rm -rf /run/courier /var/spool/courier
}