mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-26 09:58:38 +01:00
Run pacman twice
Sometimes some packages fail to install due to, for instance, mirror issues or due to unstable connection. Running pacman twice increses the chance of successful installation in such cases.
This commit is contained in:
parent
feaefe2014
commit
89682b085c
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ if [ -n "\${bad_pkglist}" ]; then
|
|||
echo \${bad_pkglist} > /opt/bad_pkglist.txt
|
||||
fi
|
||||
|
||||
pacman --noconfirm --needed -S \${good_pkglist}
|
||||
pacman --noconfirm --needed -S \${good_pkglist} || pacman --noconfirm --needed -S \${good_pkglist}
|
||||
EOF
|
||||
|
||||
chmod +x "${bootstrap}"/opt/install_packages.sh
|
||||
|
|
Loading…
Reference in a new issue