package installation progressbar

This commit is contained in:
Tobias Powalowski 2023-08-04 22:30:14 +02:00
parent d56bfaf7e0
commit f136a060a0

View file

@ -20,7 +20,7 @@ _run_pacman(){
echo -e "\nPackage Installation Complete." >>/tmp/pacman.log echo -e "\nPackage Installation Complete." >>/tmp/pacman.log
fi fi
rm /.archboot) & rm /.archboot) &
while ! [[ -e /tmp/.pacman-retcode ]]; do while true; do
_progress_wait "0" "100" "Installing package: ${_PACKAGES}..." "2" _progress_wait "0" "100" "Installing package: ${_PACKAGES}..." "2"
done) | _dialog --title " Logging to ${_LOG} " --gauge "Installing package:\n${_PACKAGES}..." 8 75 0 done) | _dialog --title " Logging to ${_LOG} " --gauge "Installing package:\n${_PACKAGES}..." 8 75 0
# pacman finished, display scrollable output # pacman finished, display scrollable output