[Lunar-commits] CVS: theedge/var/lib/lunar/functions aliases.lunar, 1.2, 1.3

Auke Kok sofar at lunar-linux.org
Wed Apr 13 09:52:56 UTC 2005


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

Modified Files:
	aliases.lunar 
Log Message:
This should at least fix some of the alias problems that ratler had.


Index: aliases.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/aliases.lunar,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- aliases.lunar	13 Apr 2005 08:02:53 -0000	1.2
+++ aliases.lunar	13 Apr 2005 09:52:54 -0000	1.3
@@ -50,16 +50,14 @@
       done
       # also not so. our last attempt is for a DISABLED dependency, but
       # we can only use this method for OPTIONAL dependencies
-      if [ "${FUNCNAME[1]}" == "optional_depends" ]; then
-        for TARGET in $TARGETS ; do
-          # there's no function for this yet
-          if grep -q ":$TARGET:off:" $DEPENDS_STATUS ; then
-            debug_msg "unaliased \"$1\"->\"$TARGET\""
-            echo $TARGET
-            return
-          fi
-        done
-      fi
+      for TARGET in $TARGETS ; do
+        # there's no function for this yet
+        if grep -q ":$TARGET:off:" $DEPENDS_STATUS ; then
+          debug_msg "unaliased \"$1\"->\"$TARGET\""
+          echo $TARGET
+          return
+        fi
+      done
     fi
 
     # propose one and let the user pick it from a list:



More information about the Lunar-commits mailing list