]> git.pld-linux.org Git - packages/apache-couchdb.git/commitdiff
- find pld init.d dir
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 3 Nov 2008 12:38:43 +0000 (12:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-couchdb-init.d.patch -> 1.1

apache-couchdb-init.d.patch [new file with mode: 0644]

diff --git a/apache-couchdb-init.d.patch b/apache-couchdb-init.d.patch
new file mode 100644 (file)
index 0000000..a5044a3
--- /dev/null
@@ -0,0 +1,15 @@
+--- apache-couchdb-0.8.1-incubating/configure.ac~      2008-06-17 01:47:54.000000000 +0300
++++ apache-couchdb-0.8.1-incubating/configure.ac       2008-11-03 14:32:20.470999260 +0200
+@@ -151,7 +151,11 @@
+ if test "$use_init" = "yes"; then
+    AC_MSG_CHECKING(location of init directory)
+-   if test -d /etc/rc.d; then
++   if test -d /etc/rc.d/init.d; then
++       init_enabled=true
++       AC_SUBST([initdir], ['${sysconfdir}/rc.d/init.d'])
++       AC_MSG_RESULT(${initdir})
++   else if test -d /etc/rc.d; then
+        init_enabled=true
+        AC_SUBST([initdir], ['${sysconfdir}/rc.d'])
+        AC_MSG_RESULT(${initdir})
This page took 0.059914 seconds and 4 git commands to generate.