diff options
author | Joshua I. Haase H. (xihh) <hahj87@gmail.com> | 2012-03-30 15:02:18 -0600 |
---|---|---|
committer | Joshua I. Haase H. (xihh) <hahj87@gmail.com> | 2012-03-30 15:02:18 -0600 |
commit | e13b2d4ae996c164b8082bfa18a7351ddb4467d7 (patch) | |
tree | d5f831488699da5b1d87118de865ab05a32d8ed9 /fullpkg-find | |
parent | ff02084e732bfbbb2986d4c04373ff577cb2e488 (diff) | |
parent | 203fb2c1f543bfb3caa13a4108a9d9cd386903ae (diff) |
Merge branch 'master' of gitpar:libretools
Diffstat (limited to 'fullpkg-find')
-rwxr-xr-x | fullpkg-find | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fullpkg-find b/fullpkg-find index 9ddfa08..64c1790 100755 --- a/fullpkg-find +++ b/fullpkg-find @@ -34,6 +34,7 @@ get_fullver() { # Checks ABSROOT and look for target pkg deps. Adds them if not built or outdated. find_deps() { # Check this level + source /etc/makepkg.conf source PKGBUILD local repo="${repo:-$(guess_repo)}" @@ -47,7 +48,11 @@ find_deps() { fi fi - if is_built "${pkgbase}" "${fullver}"; then + # Checking any package built, since otherwise e.g. kdebase would + # be always considered outdated: there is no package built named kdebase. + # TODO: maybe check for the package requested in case of recursive calls, + # instead of the first one listed? + if is_built "${pkgname[0]}" "${fullver}"; then exit 0 # pkg is built and updated fi |