[Lunar-commits] CVS: theedge/sbin lin,1.82,1.83

Auke Kok sofar at lunar-linux.org
Mon Oct 18 10:28:44 UTC 2004


Update of /var/cvs/lunar/theedge/sbin
In directory espresso.foo-projects.org:/home/sofar/active/theedge/sbin

Modified Files:
	lin 
Log Message:
Bugfix #501: make sure the module can override this call to autoresurrect too


Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- lin	12 Oct 2004 14:56:08 -0000	1.82
+++ lin	18 Oct 2004 10:28:41 -0000	1.83
@@ -128,8 +128,10 @@
       for MODULE in $MODULES ; do
         if ! module_installed $MODULE || [ ! -n "$PROBE" ] ; then
           if ! module_held $MODULE ; then
+	   (
+	    run_details $MODULE
             linING="/var/lock/installing.$MODULE"
-            if [ -n "$COMPILE" ] || [ -n "$RECONFIGURE" ] || module_installed $MODULE || ! resurrect $MODULE ; then
+            if [ -n "$COMPILE" ] || [ -n "$RECONFIGURE" ] || module_installed $MODULE || [ "$AUTORESURRECT" == "off" ] || resurrect $MODULE ) ; then
               verbose_msg "starting lin \"$MODULE\""
               if ! SINGLE_MODULE=1 lin $COMPILE $PROBE $SILENT $MODULE ; then
                 if [ -e "$TMP_LIN_FAIL" ] ; then
@@ -142,6 +144,7 @@
                 fi
               fi
             fi
+	   )
           else
             verbose_msg "Skipping compile and install for held module \"$MODULE\""
           fi



More information about the Lunar-commits mailing list