index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <d@falconindy.com> | 2011-09-10 22:47:42 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-09-11 13:46:07 +1000 |
commit | 7f1235ccbc3a81a4f8a50de96cea512353d6773e (patch) | |
tree | d8ec9494ddb14209000d605142dc47122f296f14 | |
parent | 4737a87b84742e6d704e1a59792aed9427cbf620 (diff) |
-rwxr-xr-x | contrib/paccache.in | 2 |
diff --git a/contrib/paccache.in b/contrib/paccache.in index b191ed9a..8a8cad4b 100755 --- a/contrib/paccache.in +++ b/contrib/paccache.in @@ -121,7 +121,7 @@ size_to_human() { } sizestr = sprintf("%.2f", size) - sub(/.?0+$/, "", sizestr) + sub(/\.?0+$/, "", sizestr) printf("%s %s", sizestr, suffix[count]) }' } |