From 0afd551cc2b4cbaae0b0503788cc0355772621e0 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 1 Mar 2022 12:43:50 -0300 Subject: [PATCH] Search with pacman --- pkgbuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgbuild.sh b/pkgbuild.sh index 8333be7..026f710 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -14,9 +14,9 @@ installAurDeps() { for pkgDep in "${pkgDeps[@]}"; do pkgName=$(echo "$pkgDep" | sed 's/[><=].*//') set +e - pkgInfo=$(paru -Ss "${pkgName}" 2> /dev/null) + pkgInfo=$(pacman -Ss "${pkgName}" 2> /dev/null) set -e - if ! echo "$pkgInfo" | grep "\/${pkgName} "; then + if ! echo $pkgInfo | grep -q "\/${pkgName} "; then aurPkgs+=("$pkgName") fi done