From dcfeea6d58256c4ce9ca052489db5e9c349cc5b3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Apr 2019 10:02:09 +0200 Subject: courier-mta: clean up PKGBUILD --- courier-mta/PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'courier-mta/PKGBUILD') diff --git a/courier-mta/PKGBUILD b/courier-mta/PKGBUILD index d057d799..774e2295 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" -- cgit v1.2.3-70-g09d2