[Lunar-commits] CVS: theedge/sbin lin,1.72,1.73

Auke Kok sofar at lunar-linux.org
Wed Mar 3 21:51:09 GMT 2004


Update of /var/cvs/lunar/theedge/sbin
In directory dbguin.lunar-linux.org:/tmp/cvs-serv20636/sbin

Modified Files:
	lin 
Log Message:
Some slight fixing of the double-questions (not entirely correct still), adding support for a better CPAN system (more work needed). speediefied the tracking part with smart grep.


Index: lin
===================================================================
RCS file: /var/cvs/lunar/theedge/sbin/lin,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- lin	23 Feb 2004 21:15:53 -0000	1.72
+++ lin	3 Mar 2004 21:51:07 -0000	1.73
@@ -104,10 +104,6 @@
       temp_destroy $TEMP_PREPAREDDEPS
       verbose_msg "Unexpected errors, bailing out!"
       exit 1
-    elif [ -n "$DEPS_ONLY" ] ; then
-      temp_destroy $TEMP_DOWNLOADLOG
-      temp_destroy $TEMP_PREPAREDDEPS
-      exit 0
     fi
 
     # pass 2 : hit the download manager button and grab a beer
@@ -166,37 +162,28 @@
       fi
     fi
 
-    if [ -z "$TEMP_PREPAREDDEPS" ] ; then
-      FLAG_PREPAREDDEPS_SET=on
-      export TEMP_PREPAREDDEPS=$(temp_create "prepared-depends")
-    fi
+    run_details $MODULE &&
+    run_configure $MODULE &&
+    run_depends $MODULE
 
-    if ! module_held $MODULE ; then
-      if [ -n "$PROBE" ] ; then
-        if ! module_installed $MODULE ; then
-          build_depends $MODULE &&
-          if [ ! -n "$DEPS_ONLY" ] ; then
+    if [ -z "$DEPS_ONLY" ] ; then
+      if ! module_held $MODULE ; then
+        if [ -n "$PROBE" ] ; then
+          if ! module_installed $MODULE ; then
             if ! lin_module $MODULE ; then
               temp_destroy $TEMP_PREPAREDDEPS
               exit 1
             fi
           fi
-        fi
-      else
-        build_depends $MODULE &&
-        if [ ! -n "$DEPS_ONLY" ] ; then
+        else
           if ! lin_module $MODULE ; then
             temp_destroy $TEMP_PREPAREDDEPS
             exit 1
           fi
         fi
+      else
+        verbose_msg "Skipping held module \"$MODULE\""
       fi
-    else
-      verbose_msg "Skipping held module \"$MODULE\""
-    fi
-    if [ -n "$FLAG_PREPAREDDEPS_SET" ] ; then
-      temp_destroy $TEMP_PREPAREDDEPS
-      unset FLAG_PREPAREDDEPS_SET
     fi
   fi
   



More information about the Lunar-commits mailing list