summaryrefslogtreecommitdiff
path: root/pacman2pacman-get
diff options
context:
space:
mode:
Diffstat (limited to 'pacman2pacman-get')
-rw-r--r--pacman2pacman-get3
1 files changed, 3 insertions, 0 deletions
diff --git a/pacman2pacman-get b/pacman2pacman-get
index 126a432..5e982c1 100644
--- a/pacman2pacman-get
+++ b/pacman2pacman-get
@@ -214,6 +214,9 @@ else
# start of the download. This should fix it.
[[ "${progress}" == '100.0%' ]] && continue
+ # For consistency.
+ [[ "${progress}" == '0.0%' ]] && progress='0%'
+
printf "\rPacman2pacman http download: %s: %s " "${pname}" "${progress}"
done