Search with pacman
This commit is contained in:
parent
8388956edb
commit
0afd551cc2
|
@ -14,9 +14,9 @@ installAurDeps() {
|
||||||
for pkgDep in "${pkgDeps[@]}"; do
|
for pkgDep in "${pkgDeps[@]}"; do
|
||||||
pkgName=$(echo "$pkgDep" | sed 's/[><=].*//')
|
pkgName=$(echo "$pkgDep" | sed 's/[><=].*//')
|
||||||
set +e
|
set +e
|
||||||
pkgInfo=$(paru -Ss "${pkgName}" 2> /dev/null)
|
pkgInfo=$(pacman -Ss "${pkgName}" 2> /dev/null)
|
||||||
set -e
|
set -e
|
||||||
if ! echo "$pkgInfo" | grep "\/${pkgName} "; then
|
if ! echo $pkgInfo | grep -q "\/${pkgName} "; then
|
||||||
aurPkgs+=("$pkgName")
|
aurPkgs+=("$pkgName")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue