From b4aae66a7c3ba3eec714ca6cc11cd9913b5cf2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mas=C5=82owski?= Date: Sat, 18 Feb 2012 16:07:11 +0100 Subject: Don't error on unfound package, explain why it occurs. --- fullpkg-find | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fullpkg-find b/fullpkg-find index e38014e..9ddfa08 100755 --- a/fullpkg-find +++ b/fullpkg-find @@ -80,9 +80,9 @@ find_deps() { local found=false # TODO change for where_is or toru-path - local pkgdir=$(toru -p ${_dep} \ - || error "dependency %s of %s not found" "${_dep}" "${pkgbase}" \ - && exit 1) + # May fail, e.g. since abslibre-mips64el doesn't include + # arch=any packages. + local pkgdir=$(toru -p ${_dep}) || true if [ -n "$pkgdir" -a -d "${pkgdir}" ]; then found=true -- cgit v1.2.2