When installing the init scripts, mark them as executable so that they may be used immediately.
[v2] * use INSTALL and INSTALL_SCRIPT to be autoconf-safe. Signed-off-by: Jiri Slaby <[email protected]> --- scripts/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.am b/scripts/Makefile.am index c78272c..9d0f191 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -3,8 +3,8 @@ EXTRA_DIST = init.d/cgconfig.in init.d/cgred.in if WITH_INITSCRIPT_INSTALL INITSCRIPTDIR=$(DESTDIR)$(sysconfdir)/rc.d/init.d install-exec-hook: - mkdir -p $(INITSCRIPTDIR) - cp init.d/cgconfig init.d/cgred $(INITSCRIPTDIR) + $(INSTALL) -d $(INITSCRIPTDIR) + $(INSTALL_SCRIPT) init.d/cgconfig init.d/cgred $(INITSCRIPTDIR) uninstall-hook: rm -f $(INITSCRIPTDIR)/cgconfig $(INITSCRIPTDIR)/cgred -- 1.7.4.1 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
