diff options
Diffstat (limited to 'courier-mta/PKGBUILD')
-rw-r--r-- | courier-mta/PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
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" |