summaryrefslogtreecommitdiff
path: root/courier-mta/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-15 10:02:09 +0200
committerErich Eckner <git@eckner.net>2019-04-15 10:02:09 +0200
commitdcfeea6d58256c4ce9ca052489db5e9c349cc5b3 (patch)
treebe959c5ec692ce6476f82c4dce3b9e8c169ff2e6 /courier-mta/PKGBUILD
parentaaadc918b38d7f83f5bf381cd85fff6045ea5862 (diff)
downloadarchlinuxewe-dcfeea6d58256c4ce9ca052489db5e9c349cc5b3.tar.xz
courier-mta: clean up PKGBUILD
Diffstat (limited to 'courier-mta/PKGBUILD')
-rw-r--r--courier-mta/PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/courier-mta/PKGBUILD b/courier-mta/PKGBUILD
index d057d7998..774e22959 100644
--- a/courier-mta/PKGBUILD
+++ b/courier-mta/PKGBUILD
@@ -120,9 +120,8 @@ package() {
# create password file for webadmin -> standard archwebadmin
- echo archwebadmin > "${pkgdir}/etc/courier/webadmin/password"
- chown courier:courier "${pkgdir}/etc/courier/webadmin/password"
- chmod 400 "${pkgdir}/etc/courier/webadmin/password"
+ echo archwebadmin \
+ | install -o courier:courier -Dm400 /dev/stdin "${pkgdir}/etc/courier/webadmin/password"
install -m 644 "/dev/null" "${pkgdir}/etc/courier/shared/index"