[Lunar-commits] r15537 - lunar/trunk/var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Thu Jun 30 14:08:44 UTC 2005


Author: sofar
Date: 2005-06-30 14:08:42 +0000 (Thu, 30 Jun 2005)
New Revision: 15537

Modified:
   lunar/trunk/var/lib/lunar/functions/modules.lunar
Log:
Borkfix: I broke this for normal modules (non-zlocal)


Modified: lunar/trunk/var/lib/lunar/functions/modules.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/modules.lunar	2005-06-30 12:32:31 UTC (rev 15536)
+++ lunar/trunk/var/lib/lunar/functions/modules.lunar	2005-06-30 14:08:42 UTC (rev 15537)
@@ -158,8 +158,10 @@
   ZLOCAL_OVERRIDES=${ZLOCAL_OVERRIDES:=off}
   if [ "$ZLOCAL_OVERRIDES" == "on" ] ; then
     if SECTION=$(find "$MOONBASE/zlocal/" -type d -name $1 | sed -e "s|$MOONBASE/||" -e "s|/$1$||" ) ; then
-	  echo $SECTION
-      return 0
+	  if [ -n "$SECTION" ]; then
+	    echo $SECTION
+        return 0
+	  fi
     fi
   fi
 



More information about the Lunar-commits mailing list