summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2013-10-21 19:53:33 +0100
committerNick White <git@njw.me.uk>2013-10-21 19:53:33 +0100
commitc75a4083e1a50943c6ef562c25fa4b56cbbead8e (patch)
tree54de188875c739036d67afb18e3003e84c13c9cf
parent3357cde96f91738e69617ae65165209ca9f504c6 (diff)
downloadoed2dict-c75a4083e1a50943c6ef562c25fa4b56cbbead8e.tar.bz2
oed2dict-c75a4083e1a50943c6ef562c25fa4b56cbbead8e.zip
Ensure dict files to install have correct permissions
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1e709f6..e2c2b62 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,7 @@ oed.dict.dz: oed.dict
dictzip -k $<
install: all
+ chmod 644 oed.dict.dz oed.index
cp oed.dict.dz oed.index $(DESTDIR)$(PREFIX)/share/dictd/
test -x /usr/sbin/dictdconfig && dictdconfig -w
test -x /etc/init.d/dictd && /etc/init.d/dictd restart