summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-29 21:41:10 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 19:44:21 -0600
commit2a10613b5ffd2118cc9302e02942f53d63eff121 (patch)
treea929f2063b02f85eaa0e4d2b445948df6b585b91 /src
parent2869df6b80a4a490740673a6f7d1df232c1e26fa (diff)
aur: Use pacman instead of searching ABSROOT; works for split packages
Diffstat (limited to 'src')
-rwxr-xr-xsrc/aur4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/aur b/src/aur
index 7fdddab..14882cd 100755
--- a/src/aur
+++ b/src/aur
@@ -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