Skip to content

Commit c4990a8

Browse files
committed
[fix] : Re install package only if it was failed
1 parent 38c524a commit c4990a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/aur.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ for _pkg in "${@}"; do
136136
done
137137

138138
# Reinstall failed package
139-
for _pkg in "${@}"; do
139+
for _pkg in "${failedpkg[@]}"; do
140140
installpkg "${_pkg}"
141141
if ! pacman -Qq "${_pkg}" > /dev/null 2>&1; then
142142
echo -e "\n[aur.sh] Failed to install ${_pkg}\n"

0 commit comments

Comments
 (0)