xbps-src: fix -E to check for the target pkg being registered in repos.
rather than just checking if its binary package is available.
This commit is contained in:
parent
d9209f130a
commit
01afe81aac
1 changed files with 4 additions and 2 deletions
|
@ -336,8 +336,10 @@ setup_pkg() {
|
|||
else
|
||||
arch="$XBPS_TARGET_MACHINE"
|
||||
fi
|
||||
if [ -n "$XBPS_BINPKG_EXISTS" -a -f "${XBPS_REPOSITORY}/${pkgver}.${arch}.xbps" ]; then
|
||||
exit_and_cleanup
|
||||
if [ -n "$XBPS_BINPKG_EXISTS" ]; then
|
||||
if [ "$($XBPS_QUERY_XCMD -R -ppkgver $pkgver 2>/dev/null)" = "$pkgver" ]; then
|
||||
exit_and_cleanup
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" ]; then
|
||||
|
|
Loading…
Reference in a new issue