From b4fb3c6a81f974709821ae2b12ee3dd772730ff3 Mon Sep 17 00:00:00 2001 From: "Leslie P. Polzer" Date: Sun, 10 Nov 2013 15:56:40 +0100 Subject: [PATCH] abuild: print a message if aborting due to architecture mismatch. --- abuild.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index beb8e57..672bb72 100755 --- a/abuild.in +++ b/abuild.in @@ -1764,7 +1764,11 @@ uninstalldeps() { undeps; } all() { if ! [ -n "$force" ]; then - check_arch || return 0 + check_arch + if [ $? -ne 0 ]; then + echo "Package not available for the target architecture ($CARCH). Aborting." + return 0 + fi check_libc || return 0 fi if up2date && [ -z "$force" ]; then