diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-29 21:41:10 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 19:44:21 -0600 |
commit | 2a10613b5ffd2118cc9302e02942f53d63eff121 (patch) | |
tree | a929f2063b02f85eaa0e4d2b445948df6b585b91 | |
parent | 2869df6b80a4a490740673a6f7d1df232c1e26fa (diff) |
aur: Use pacman instead of searching ABSROOT; works for split packages
-rwxr-xr-x | src/aur | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -46,8 +46,6 @@ main() { . $(librelib conf.sh) load_files libretools check_vars libretools DIFFTOOL - load_files abs - check_vars abs ABSROOT local missing_deps=() for _pkg in "$@"; do @@ -115,7 +113,7 @@ main() { for _dep in "${depends[@]}" "${makedepends[@]}"; do _dep=${_dep/[<>=]*/} if ! is_built $_dep; then - if ! find ${ABSROOT} -maxdepth 2 -type d -name "$_dep" | egrep "*" >/dev/null ; then + if ! pacman -Sddp "$_dep" &>/dev/null ; then msg2 "$_dep will be get from AUR" missing_deps+=($_dep) fi |