summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/abuild.in b/abuild.in
index 0c94653..4034a86 100755
--- a/abuild.in
+++ b/abuild.in
@@ -841,15 +841,16 @@ builddeps() {
# find which deps are missing
for i in $deps; do
if [ "${i#\!}" != "$i" ]; then
- list_has ${i#\!} $installed_deps \
+ $APK info -q -e "${i#\!}" \
&& conflicts="$conflicts ${i#\!}"
elif ! deplist_has $i $installed_deps || [ -n "$upgrade" ]; then
missing="$missing $i"
fi
done
-
+
if [ -n "$conflicts" ]; then
- die "Conflicting package(s) installed:$conflics"
+ error "Conflicting package(s) installed:$conflicts"
+ return 1
fi
if [ -z "$install_deps" ] && [ -z "$recursive" ]; then