Fix typos

This commit is contained in:
Santiago Lo Coco 2022-03-01 11:53:23 -03:00
parent 26ee1d4f7b
commit 2cc7d31dbc
1 changed files with 3 additions and 3 deletions

View File

@ -16,9 +16,9 @@ installAurDeps() {
mapfile -t pkgDeps < <(sed -n -e "s/$regExp/\3/p" .SRCINFO) mapfile -t pkgDeps < <(sed -n -e "s/$regExp/\3/p" .SRCINFO)
for pkgDep in "${pkgDeps[@]}"; do for pkgDep in "${pkgDeps[@]}"; do
pkgName=$(echo "$pkgDep" | sed 's/[><=].*//') pkgName=$(echo "$pkgDep" | sed 's/[><=].*//')
paruOutput=$(paru -Ss "${pkgDep}" | grep "\/${pkgDep} ") paruOutput=$(paru -Ss "${pkgName}" | grep "\/${pkgName} ")
if echo $paruOutput | grep -q "^aur\/" if echo "$paruOutput" | grep -q "^aur\/"; then
paru -S --noconfirm "$pkgDep" paru -S --noconfirm "$pkgName"
fi fi
done done
rm -rf paru-bin .SRCINFO rm -rf paru-bin .SRCINFO