Installed files have better permissions.

Requires build.zsh 0.4.0.
This commit is contained in:
Luka Vandervelden 2019-10-24 00:48:20 +02:00
parent f40dbccc1f
commit f9ad890e05

View File

@ -21,12 +21,14 @@ type[src/config.cr]=script
sources[src/config.cr]=src/config.cr.in
install[src/config.cr]=false
auto[src/config.cr]=true # Dont display it in `make help`.
chmod[src/config.cr]=0644
for file in services/*.spec; do
targets+=($file)
type[$file]=script
install[$file]='$(SHAREDIR)/services'
auto[$file]=true
chmod[$file]=0644
done
for file in templates/*.j2; do
@ -34,6 +36,7 @@ for file in templates/*.j2; do
type[$file]=script
install[$file]='$(SYSCONFDIR)/templates'
auto[$file]=true
chmod[$file]=0644
done
# FIXME: This should be upstreamed.