[Lunar-commits] r27021 - lunar/trunk/var/lib/lunar/functions
Stefan Wold
ratler at lunar-linux.org
Thu Jun 26 09:26:24 CEST 2008
Author: ratler
Date: 2008-06-26 09:26:23 +0200 (Thu, 26 Jun 2008)
New Revision: 27021
Modified:
lunar/trunk/var/lib/lunar/functions/moonbase.lunar
Log:
Report moonbase size in KB just like all other modules
Modified: lunar/trunk/var/lib/lunar/functions/moonbase.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/moonbase.lunar 2008-06-06 18:25:44 UTC (rev 27020)
+++ lunar/trunk/var/lib/lunar/functions/moonbase.lunar 2008-06-26 07:26:23 UTC (rev 27021)
@@ -41,7 +41,7 @@
if [ ! -d "$SYSTEM_MOONBASE" ] ; then
mkdir -p $SYSTEM_MOONBASE
fi
-
+
if [ ! -d "$SYSTEM_MOONBASE/zlocal" ] ; then
mkdir -p $SYSTEM_MOONBASE/zlocal
fi
@@ -72,7 +72,7 @@
# create an md5sum log
create_md5sum_log &&
- add_module $MODULE installed $VERSION $(du -hs $SYSTEM_MOONBASE | cut -f1) &&
+ add_module $MODULE installed $VERSION $(du -ks $SYSTEM_MOONBASE | cut -f1)KB &&
# get ready to regenerate the module index cache file
create_module_index &&
create_depends_cache &&
More information about the Lunar-commits
mailing list