Search with pacman
This commit is contained in:
parent
8388956edb
commit
0afd551cc2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue