Fix permissions in PKGBUILD

This commit is contained in:
Edgar P. Burkhart 2022-12-29 18:19:22 +01:00
parent 1aaafc01e2
commit 22bd94f3be
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -39,7 +39,7 @@ package() {
install -Dm644 ${pkgname%-git}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname%-git}.conf
install -Dm644 ${pkgname%-git}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname%-git}.conf
install -Dm644 ${pkgname%-git}.nginx "${pkgdir}"/etc/nginx/sites-enabled/${pkgname%-git}.conf
install -Dm750 config.toml -t "${pkgdir}"/etc/${pkgname%-git}/
install -Dm750 -o nummi -g nummi config.toml -t "${pkgdir}"/etc/${pkgname%-git}/
cd ${pkgname}/${pkgname%-git}
find * -type f -exec install -Dm0644 "{}" "${pkgdir}/usr/share/webapps/${pkgname%-git}/{}" \;