[Lunar-commits] CVS: theedge/var/lib/lunar/functions modules.lunar,
1.55, 1.56 moonbase.lunar, 1.24, 1.25
Auke Kok
sofar at lunar-linux.org
Thu Apr 21 09:20:05 UTC 2005
- Previous message: [Lunar-commits] CVS: moonbase/kde3-utils/superkaramba BUILD, 1.3,
1.4 DETAILS, 1.11, 1.12
- Next message: [Lunar-commits] CVS: theedge/var/lib/lunar/functions aliases.lunar,
1.3, 1.4 depends.lunar, 1.50, 1.51 messages.lunar, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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 moonbase.lunar
Log Message:
Two speedups: don't linger executing code if not needed.
Index: modules.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/modules.lunar,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- modules.lunar 4 Apr 2005 11:22:28 -0000 1.55
+++ modules.lunar 21 Apr 2005 09:20:03 -0000 1.56
@@ -168,7 +168,11 @@
fi
fi
- check_module_index
+ if ! check_module_index ; then
+ # shave some time off not trying the rest of the code below since that
+ # is useless
+ return 1
+ fi
SECTION=$(grep ^$1: $MODULE_INDEX 2>/dev/null | head -n 1 | cut -d: -f2)
if [ -n "$SECTION" ] ; then
Index: moonbase.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/moonbase.lunar,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- moonbase.lunar 8 Apr 2005 10:46:58 -0000 1.24
+++ moonbase.lunar 21 Apr 2005 09:20:03 -0000 1.25
@@ -73,7 +73,8 @@
add_module $MODULE installed $VERSION $(du -hs $SYSTEM_MOONBASE | cut -f1)
# get ready to regenerate the module index cache file
- check_module_index
+ create_module_index
+ create_depends_cache
update_plugins
display_moonbase_changes
temp_destroy $TMP_MODULE_INDEX
- Previous message: [Lunar-commits] CVS: moonbase/kde3-utils/superkaramba BUILD, 1.3,
1.4 DETAILS, 1.11, 1.12
- Next message: [Lunar-commits] CVS: theedge/var/lib/lunar/functions aliases.lunar,
1.3, 1.4 depends.lunar, 1.50, 1.51 messages.lunar, 1.23, 1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Lunar-commits
mailing list