CVS: theedge/var/lib/lunar/functions depends.lunar,1.11,1.12
sofar at lunar-linux.org
sofar at lunar-linux.org
Thu Jul 17 22:28:30 GMT 2003
Update of /var/cvs/lunar/theedge/var/lib/lunar/functions
In directory dbguin.lunar-linux.org:/tmp/cvs-serv29113/var/lib/lunar/functions
Modified Files:
depends.lunar
Log Message:
Error out when a dependency is exiled with a proper message.
Index: depends.lunar
===================================================================
RCS file: /var/cvs/lunar/theedge/var/lib/lunar/functions/depends.lunar,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- depends.lunar 17 Jul 2003 20:19:17 -0000 1.11
+++ depends.lunar 17 Jul 2003 22:28:28 -0000 1.12
@@ -123,6 +123,7 @@
if ! module_installed $1 && ! module_held $1 ; then
if ! is_depends $1 && module_exiled $1 ; then
+ message "${MODULE_COLOR}${MODULE}:${PROBLEM_COLOR} ! Error: required dependency ${MODULE_COLOR}${1}${DEFAULT_COLOR}${PROBLEM_COLOR} is exiled and cannot be installed${DEFAULT_COLOR}"
return 1
else
message "${MODULE_COLOR}${MODULE}: ${DEFAULT_COLOR}" \
More information about the Lunar-commits
mailing list