Fix permissions on env file
This commit is contained in:
parent
6d4947bcca
commit
5c9668ca0c
1 changed files with 2 additions and 1 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -11,6 +11,7 @@ depends=(
|
||||||
)
|
)
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
optdepends=("postgresql: database")
|
optdepends=("postgresql: database")
|
||||||
|
backup=("etc/${pkgname%-git}.env")
|
||||||
source=(
|
source=(
|
||||||
"${pkgname}::git+ssh://gitea@git.edgarpierre.fr:39529/edpibu/nummi.git"
|
"${pkgname}::git+ssh://gitea@git.edgarpierre.fr:39529/edpibu/nummi.git"
|
||||||
"${pkgname%-git}.service"
|
"${pkgname%-git}.service"
|
||||||
|
@ -36,7 +37,7 @@ package() {
|
||||||
install -Dm644 ${pkgname%-git}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname%-git}.conf
|
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}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname%-git}.conf
|
||||||
install -Dm644 ${pkgname%-git}.nginx "${pkgdir}"/etc/nginx/sites-enabled/${pkgname%-git}.conf
|
install -Dm644 ${pkgname%-git}.nginx "${pkgdir}"/etc/nginx/sites-enabled/${pkgname%-git}.conf
|
||||||
install -D ${pkgname%-git}.env -t "${pkgdir}"/etc/
|
install -Dm750 ${pkgname%-git}.env -t "${pkgdir}"/etc/
|
||||||
|
|
||||||
cd ${pkgname}/${pkgname%-git}
|
cd ${pkgname}/${pkgname%-git}
|
||||||
find * -type f -exec install -Dm0644 "{}" "${pkgdir}/usr/share/webapps/${pkgname%-git}/{}" \;
|
find * -type f -exec install -Dm0644 "{}" "${pkgdir}/usr/share/webapps/${pkgname%-git}/{}" \;
|
||||||
|
|
Loading…
Reference in a new issue