diff options
-rwxr-xr-x | contrib/paccache.in | 2 |
1 files changed, 1 insertions, 1 deletions
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]) }' } |