From 56261cf6914e14768b5286602116281b6a20dec9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 3 Nov 2008 12:38:43 +0000 Subject: [PATCH] - find pld init.d dir Changed files: apache-couchdb-init.d.patch -> 1.1 --- apache-couchdb-init.d.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apache-couchdb-init.d.patch diff --git a/apache-couchdb-init.d.patch b/apache-couchdb-init.d.patch new file mode 100644 index 0000000..a5044a3 --- /dev/null +++ b/apache-couchdb-init.d.patch @@ -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}) -- 2.44.0