diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-09 13:28:36 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-04-09 13:28:36 -0300 |
commit | 2a7f3dbbda2bc68ed21813b7d672ee2c32ae9ac7 (patch) | |
tree | 128883c97a88bc7a69a64c8b947d18f3345c4c49 /fullpkg-find | |
parent | e65a1c3238933e4f2909d34f11dc4fce3509a6fb (diff) | |
parent | 7db00e8e126f890cca5f742238ef438b7d418d28 (diff) |
Merge branch 'master' of http://projects.parabolagnulinux.org/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 |