Commit b4fb3c6a authored by Leslie Polzer's avatar Leslie Polzer Committed by Natanael Copa

abuild: print a message if aborting due to architecture mismatch.

parent ef0d32d1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment