diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2014-06-15 15:20:39 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2014-06-15 15:20:39 +0100 |
commit | abbbe43fbd694f19df83600d7de300eae9f2587a (patch) | |
tree | a0139a511d42b02c29b97221b169a42013c0e918 /pacman2pacman-get | |
parent | f654b54a75f0b67e8c281cb9044b63f225d59355 (diff) |
Fixed minor cosmetic problem of '0.0%' vs '0%'
Diffstat (limited to 'pacman2pacman-get')
-rw-r--r-- | pacman2pacman-get | 3 |
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 |