summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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