summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Orgis2020-08-30 13:52:56 +0200
committerThomas Orgis2020-08-30 13:53:10 +0200
commite06fd95036c1e60c33c29445e3886bb4ba89c7e0 (patch)
tree9c0eb7ae6356bb425df6f8cf0a68f950431a5b74
parent04b9952933d6ba7b24edc77acda054e1e79f79de (diff)
libdepends: report missing SUB_DEPENDS
-rwxr-xr-xvar/lib/sorcery/modules/libdepends4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/lib/sorcery/modules/libdepends b/var/lib/sorcery/modules/libdepends
index 1c9c40ff..bbd2f4fc 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -268,6 +268,10 @@ process_sub_depends() {
debug libdepends "SUB_DEPENDS: $sub_dependee needs to provide $sub_depends but has already been processed"
fi
else
+ message "${PROBLEM_COLOR}Sub-dependency of" \
+ "${SPELL_COLOR}$requester${PROBLEM_COLOR} on" \
+ "${SPELL_COLOR}$sub_dependee${PROBLEM_COLOR}" \
+ "cannot be processed due to missing SUB_DEPENDS!$DEFAULT_COLOR"
# sub-depends file doesnt exist, something messed up somewhere
return 1
fi