Update variable name
This commit is contained in:
parent
d4482446de
commit
99421564ec
|
@ -17,9 +17,9 @@ installAurDeps() {
|
|||
for pkgDep in "${pkgDeps[@]}"; do
|
||||
pkgName=$(echo "$pkgDep" | sed 's/[><=].*//')
|
||||
set +e
|
||||
paruOutput=$(paru -Ss "${pkgName}" 2> /dev/null | grep "\/${pkgName} ")
|
||||
pkgInfo=$(paru -Ss "${pkgName}" 2> /dev/null | grep "\/${pkgName} ")
|
||||
set -e
|
||||
if echo "$paruOutput" | grep -q "^aur\/"; then
|
||||
if echo "$pkgInfo" | grep -q "^aur\/"; then
|
||||
paru -S --noconfirm "$pkgName"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue