summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-26 20:59:40 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-26 20:59:40 -0400
commit4604fadf0acb92ec3e64092bcd9e76eae93b93b2 (patch)
treefff4ae28caaa2ac49bcede0055f70fa0f04f19cd
parent38618838c9f2700b3971c436ec9bee98b91a21e5 (diff)
preserve modes of external plugin files
proxy.py should not be executable
-rwxr-xr-xMakefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 8c7ac7019..01a59eaf6 100755
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -62,7 +62,7 @@ extra_install:
install -d $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins
for file in `find plugins -maxdepth 1 -type f ! -wholename plugins/.\*`; do \
- install -m 755 $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
+ cp -a $$file $(DESTDIR)$(PREFIX)/lib/ikiwiki/plugins; \
done; \
install -d $(DESTDIR)$(PREFIX)/share/man/man1