On 02/28/2011 05:40 PM, Jiri Slaby wrote: > When installing the init scripts, mark them as executable so that they > may be used immediately. > > Signed-off-by: Jiri Slaby <[email protected]> Acked-By: Jan Safranek <[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..23afe11 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 -m 755 init.d/cgconfig init.d/cgred $(INITSCRIPTDIR) > > uninstall-hook: > rm -f $(INITSCRIPTDIR)/cgconfig $(INITSCRIPTDIR)/cgred ------------------------------------------------------------------------------ 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
