OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c524a
)
[fix] : Re install package only if it was failed
author
hayao
<hayao@fascode.net>
Sun, 8 Aug 2021 11:45:00 +0000
(20:45 +0900)
committer
hayao
<hayao@fascode.net>
Sun, 8 Aug 2021 11:45:00 +0000
(20:45 +0900)
system/aur.sh
patch
|
blob
|
history
diff --git
a/system/aur.sh
b/system/aur.sh
index
b051439
..
fd1db2d
100755
(executable)
--- a/
system/aur.sh
+++ b/
system/aur.sh
@@
-136,7
+136,7
@@
for _pkg in "${@}"; do
done
# Reinstall failed package
-for _pkg in "${
@
}"; do
+for _pkg in "${
failedpkg[@]
}"; do
installpkg "${_pkg}"
if ! pacman -Qq "${_pkg}" > /dev/null 2>&1; then
echo -e "\n[aur.sh] Failed to install ${_pkg}\n"