From: Elan Ruusamäe Date: Mon, 3 Nov 2008 12:46:33 +0000 (+0000) Subject: - fix shell syntax X-Git-Url: https://git.pld-linux.org/?p=packages%2Fapache-couchdb.git;a=commitdiff_plain;h=c79e99aa3d977e8c6340f64105da8b11a8131ee8 - fix shell syntax Changed files: apache-couchdb-init.d.patch -> 1.2 --- diff --git a/apache-couchdb-init.d.patch b/apache-couchdb-init.d.patch index a5044a3..0fc4adb 100644 --- a/apache-couchdb-init.d.patch +++ b/apache-couchdb-init.d.patch @@ -9,7 +9,7 @@ + init_enabled=true + AC_SUBST([initdir], ['${sysconfdir}/rc.d/init.d']) + AC_MSG_RESULT(${initdir}) -+ else if test -d /etc/rc.d; then ++ elif test -d /etc/rc.d; then init_enabled=true AC_SUBST([initdir], ['${sysconfdir}/rc.d']) AC_MSG_RESULT(${initdir})