make /etc/ctdb/functions executable and add a hashbang to it so
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 26 Jun 2008 23:29:38 +0000 (09:29 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 26 Jun 2008 23:29:38 +0000 (09:29 +1000)
rpmlint wont complain

Makefile.in
config/functions

index f85770f..161e2e9 100644 (file)
@@ -176,7 +176,7 @@ install: all
        ${INSTALLCMD} -m 755 bin/smnotify $(DESTDIR)$(bindir)
        ${INSTALLCMD} -m 644 include/ctdb.h $(DESTDIR)$(includedir)
        ${INSTALLCMD} -m 644 include/ctdb_private.h $(DESTDIR)$(includedir) # for samba3
-       ${INSTALLCMD} -m 644 config/functions $(DESTDIR)$(etcdir)/ctdb
+       ${INSTALLCMD} -m 755 config/functions $(DESTDIR)$(etcdir)/ctdb
        ${INSTALLCMD} -m 755 config/statd-callout $(DESTDIR)$(etcdir)/ctdb
        ${INSTALLCMD} -m 644 config/events.d/README $(DESTDIR)$(etcdir)/ctdb/events.d
        ${INSTALLCMD} -m 755 config/events.d/00.ctdb $(DESTDIR)$(etcdir)/ctdb/events.d
index 13bba6f..3c47e4a 100644 (file)
@@ -1,3 +1,4 @@
+#!/bin/sh
 # utility functions for ctdb event scripts
 
 #######################################