diff options
-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 |