Search with pacman

This commit is contained in:
Santiago Lo Coco 2022-03-01 12:43:50 -03:00
parent 8388956edb
commit 0afd551cc2
1 changed files with 2 additions and 2 deletions

View File

@ -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