You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2010/10/09 00:01:27 UTC

svn commit: r1006047 - in /ofbiz/trunk/debian: changelog ofbiz-framework.ofbiz.init

Author: doogie
Date: Fri Oct  8 22:01:27 2010
New Revision: 1006047

URL: http://svn.apache.org/viewvc?rev=1006047&view=rev
Log:
Protect sourcing of /etc/default/rcS, it is a conffile that might be
removed.

Modified:
    ofbiz/trunk/debian/changelog
    ofbiz/trunk/debian/ofbiz-framework.ofbiz.init

Modified: ofbiz/trunk/debian/changelog
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/changelog?rev=1006047&r1=1006046&r2=1006047&view=diff
==============================================================================
--- ofbiz/trunk/debian/changelog (original)
+++ ofbiz/trunk/debian/changelog Fri Oct  8 22:01:27 2010
@@ -24,6 +24,8 @@ ofbiz (UNRELEASED) unstable; urgency=low
     warning.
   * Skip rc.ofbiz.for.debian file and .pc dirs, so they don't get installed
     anymore.
+  * Protect sourcing of /etc/default/rcS, it is a conffile that might be
+    removed.
 
  -- Adam Heath <do...@brainfood.com>  UNRELEASED
 

Modified: ofbiz/trunk/debian/ofbiz-framework.ofbiz.init
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz-framework.ofbiz.init?rev=1006047&r1=1006046&r2=1006047&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz-framework.ofbiz.init (original)
+++ ofbiz/trunk/debian/ofbiz-framework.ofbiz.init Fri Oct  8 22:01:27 2010
@@ -42,7 +42,9 @@ MEMIF=""
 UMASK=002
 
 . /lib/lsb/init-functions
-. /etc/default/rcS
+if [ -e /etc/default/rcS ]; then
+	. /etc/default/rcS
+fi
 
 if [ -e /etc/default/locale ]; then
 	. /etc/default/locale