summaryrefslogtreecommitdiff
path: root/courier-mta/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-29 11:16:00 +0100
committerErich Eckner <git@eckner.net>2019-01-29 11:16:00 +0100
commit69cb64ea520a9b624db02389e214855b4b828f7f (patch)
treef8c549a8921788a8da73d6ed1eabec3367ac51ad /courier-mta/PKGBUILD
parenta60631f3305293ff52e4325d07cfebcb500b3afb (diff)
downloadarchlinuxewe-69cb64ea520a9b624db02389e214855b4b828f7f.tar.xz
courier-mta: install empty /etc/courier/shared/index
Diffstat (limited to 'courier-mta/PKGBUILD')
-rw-r--r--courier-mta/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/courier-mta/PKGBUILD b/courier-mta/PKGBUILD
index ab73db171..b11080bba 100644
--- a/courier-mta/PKGBUILD
+++ b/courier-mta/PKGBUILD
@@ -12,7 +12,7 @@
pkgname=courier-mta
pkgver=1.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig"
arch=(i686 x86_64)
license=('GPL2')
@@ -124,6 +124,8 @@ package() {
chown courier:courier "${pkgdir}/etc/courier/webadmin/password"
chmod 400 "${pkgdir}/etc/courier/webadmin/password"
+ install -m 644 "/dev/null" "${pkgdir}/etc/courier/shared/index"
+
# install the imapd binary as /usr/lib/courier/courierimapd and modify usr/share scripts.
# courier-mta by default installs usr/bin/imapd as the binary, usr/share/imapd as script file and usr/sbin/imapd as link to /usr/share/imapd
# hence the binary gets overwritten by the link because Arch bin and sbin are same location