[Lunar-commits] r23502 - lunar/trunk/var/lib/lunar/functions
Auke Kok
sofar at lunar-linux.org
Mon Mar 5 19:22:40 CET 2007
Author: sofar
Date: 2007-03-05 19:22:40 +0100 (Mon, 05 Mar 2007)
New Revision: 23502
Modified:
lunar/trunk/var/lib/lunar/functions/aliases.lunar
Log:
Display whether aliases are installed or not at selection screen.
Modified: lunar/trunk/var/lib/lunar/functions/aliases.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/aliases.lunar 2007-03-05 17:36:25 UTC (rev 23501)
+++ lunar/trunk/var/lib/lunar/functions/aliases.lunar 2007-03-05 18:22:40 UTC (rev 23502)
@@ -54,7 +54,11 @@
for TARGET in $TARGETS ; do
((N++))
TARGETBYNUM[$N]=$TARGET
- error_message " ${QUERY_COLOR}$N${MESSAGE_COLOR} - ${DEFAULT_COLOR}${MODULE_COLOR}$TARGET${DEFAULT_COLOR}"
+ if module_installed $TARGET ; then
+ error_message " ${QUERY_COLOR}$N${MESSAGE_COLOR} - ${DEFAULT_COLOR}${MODULE_COLOR}$TARGET${DEFAULT_COLOR} ${LRM_COLOR}(Installed)${DEFAULT_COLOR}"
+ else
+ error_message " ${QUERY_COLOR}$N${MESSAGE_COLOR} - ${DEFAULT_COLOR}${MODULE_COLOR}$TARGET${DEFAULT_COLOR} ${MESSAGE_COLOR}(Not installed)${DEFAULT_COLOR}"
+ fi
done
read CHOICE
# test directly first
More information about the Lunar-commits
mailing list