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

Auke Kok sofar at lunar-linux.org
Mon Oct 18 10:32:41 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:
Okay this works much better, I completely oversaw the fact that lin_module already handles autoresurrect itself and this code here is completely superfluous (just plain wrong)


Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- lin	18 Oct 2004 10:28:41 -0000	1.83
+++ lin	18 Oct 2004 10:32:39 -0000	1.84
@@ -128,23 +128,18 @@
       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 || [ "$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
-                  echo "$MODULE" >> $TMP_LIN_FAIL
-                fi
-                lin_EXIT_STATUS=1;  
-              else
-                if [ -e "$TMP_LIN_SUCCESS" ] ; then
-                  echo "$MODULE" >> $TMP_LIN_SUCCESS
-                fi
+            verbose_msg "starting lin \"$MODULE\""
+            if ! SINGLE_MODULE=1 lin $COMPILE $PROBE $SILENT $MODULE ; then
+              if [ -e "$TMP_LIN_FAIL" ] ; then
+                echo "$MODULE" >> $TMP_LIN_FAIL
+              fi
+              lin_EXIT_STATUS=1;  
+            else
+              if [ -e "$TMP_LIN_SUCCESS" ] ; then
+                echo "$MODULE" >> $TMP_LIN_SUCCESS
               fi
             fi
-	   )
           else
             verbose_msg "Skipping compile and install for held module \"$MODULE\""
           fi



More information about the Lunar-commits mailing list