[Lunar-commits] CVS: theedge/var/lib/lunar/functions modules.lunar, 1.49, 1.50

Auke Kok sofar at lunar-linux.org
Wed Nov 10 08:18:49 UTC 2004


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:
	modules.lunar 
Log Message:
Adding an even more thorough check on create_module_index. If the install log is missing we *have* to use the slow method.


Index: modules.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/modules.lunar,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- modules.lunar	1 Nov 2004 07:56:04 -0000	1.49
+++ modules.lunar	10 Nov 2004 08:18:47 -0000	1.50
@@ -99,7 +99,7 @@
   TMP_INDEX=$(temp_create "module.index")
 
   # here we have two options: system moonbase or custom:
-  if [ "$MOONBASE" == "/var/lib/lunar/moonbase" ] ; then
+  if [ "$MOONBASE" == "/var/lib/lunar/moonbase" -a -f $INSTALL_LOGS/moonbase-$(installed_version moonbase) ] ; then
     # short way out:
     debug_msg "Quick generating \$MODULE_INDEX..."
     grep "/DETAILS$" $INSTALL_LOGS/moonbase-$(installed_version moonbase) | \



More information about the Lunar-commits mailing list