[Pkg-erlang-commits] r1176 - in couchdb/trunk/debian: . patches

statik-guest at alioth.debian.org statik-guest at alioth.debian.org
Fri Jan 22 05:23:36 UTC 2010


Author: statik-guest
Date: 2010-01-22 05:23:35 +0000 (Fri, 22 Jan 2010)
New Revision: 1176

Added:
   couchdb/trunk/debian/patches/init.patch
Modified:
   couchdb/trunk/debian/changelog
Log:
Oops...revert init.patch, I should have only dropped the $ENABLE_SERVER portion.
Thanks Sam!


Modified: couchdb/trunk/debian/changelog
===================================================================
--- couchdb/trunk/debian/changelog	2010-01-19 04:31:07 UTC (rev 1175)
+++ couchdb/trunk/debian/changelog	2010-01-22 05:23:35 UTC (rev 1176)
@@ -2,7 +2,7 @@
 
   [ Elliot Murphy ]
   * Updated debian/control, added Elliot to Uploaders
-  * Dropped debian/patches/init.patch
+  * Dropped $ENABLE_SERVER portion of debian/patches/init.patch
 
  -- Elliot Murphy <elliot at ubuntu.com>  Mon, 18 Jan 2010 23:30:25 -0500
 

Copied: couchdb/trunk/debian/patches/init.patch (from rev 1103, couchdb/trunk/debian/patches/init.patch)
===================================================================
--- couchdb/trunk/debian/patches/init.patch	                        (rev 0)
+++ couchdb/trunk/debian/patches/init.patch	2010-01-22 05:23:35 UTC (rev 1176)
@@ -0,0 +1,19 @@
+--- apache-couchdb-0.9.1/etc/init/couchdb.tpl.in
++++ apache-couchdb-0.9.1.new/etc/init/couchdb.tpl.in
+@@ -34,7 +34,7 @@
+ LSB_LIBRARY=/lib/lsb/init-functions
+ 
+ if test ! -x $COUCHDB; then
+-    exit $SCRIPT_ERROR
++    exit $SCRIPT_OK
+ fi
+ 
+ if test -r $CONFIGURATION_FILE; then
+@@ -77,6 +77,7 @@
+         command="$command $COUCHDB_OPTIONS"
+     fi
+     mkdir -p "$RUN_DIR"
++    cd "$RUN_DIR"
+     if test -n "$COUCHDB_USER"; then
+         chown $COUCHDB_USER "$RUN_DIR"
+         if su $COUCHDB_USER -c "$command" > /dev/null; then




More information about the Pkg-erlang-commits mailing list