preserve modes of external plugin files
authorJoey Hess <joey@kodama.kitenet.net>
Sun, 27 Jul 2008 00:59:40 +0000 (20:59 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sun, 27 Jul 2008 00:59:40 +0000 (20:59 -0400)
proxy.py should not be executable

Makefile.PL

index 8c7ac70190ad26eba142abe79bb3a703036dd27e..01a59eaf6b46cd73fc5013c9ec253a25369e63fc 100755 (executable)
@@ -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