Installed files have better permissions.
Requires build.zsh 0.4.0.
This commit is contained in:
parent
f40dbccc1f
commit
f9ad890e05
@ -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 # Don’t 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.
|
||||
|
Loading…
Reference in New Issue
Block a user