mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add progressbar for full system
This commit is contained in:
parent
18aca5cbff
commit
d9ff184147
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ _full_system() {
|
|||
for i in ${_PACKAGES}; do
|
||||
pacman -S --noconfirm ${i} >"${_LOG}" 2>&1 || exit 1
|
||||
if [[ "$((${_COUNT}*100/${_PACKAGE_COUNT}-4))" -gt 1 ]]; then
|
||||
progress "$((${_COUNT}*100/${_PACKAGE_COUNT}-4))" "${_KEEP} Reinstalling all packages..."
|
||||
_progress "$((${_COUNT}*100/${_PACKAGE_COUNT}-4))" "${_KEEP} Reinstalling all packages..."
|
||||
fi
|
||||
_COUNT="$((${_COUNT}+1))"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue