[Lunar-commits] <lunar> Check for module_exiled in satisfy_depend
Peter de Ridder
peter at lunar-linux.org
Sun Sep 2 20:59:17 CEST 2012
commit 4e6b09e9fc7b52b198395060ad8d6f21ded3d68e
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 05 Aug 2012 14:45:10 -0700
URL: https://github.com/lunar-linux/lunar/commit/4e6b09e9fc7b52b198395060ad8d6f21ded3d68e
Check for module_exiled in satisfy_depend
---
libs/depends.lunar +4/-1
1 files changed, 4 insertions (+), 1 deletions (-)
--- a/libs/depends.lunar
+++ b/libs/depends.lunar
@@ -300,7 +300,10 @@ satisfy_depends() {
for DEP_MODULE in $(find_depends $MODULE | grep -v '%') ; do
if [ $DEP_MODULE != $MODULE ]; then
if ! module_installed $DEP_MODULE ; then
- if ! SINGLE_MODULE=1 lin $SILENT $COMPILE $DEP_MODULE ; then
+ if module_exiled $DEP_MODULE ; then
+ message "${MODULE_COLOR}${MODULE}:${PROBLEM_COLOR} ! Error: required dependency ${MODULE_COLOR}$DEP_MODULE${DEFAULT_COLOR}${PROBLEM_COLOR} is exiled and cannot be installed${DEFAULT_COLOR}"
+ exit 1
+ elif ! SINGLE_MODULE=1 lin $SILENT $COMPILE $DEP_MODULE ; then
exit 1
fi
fi
More information about the Lunar-commits
mailing list