diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-05-07 01:47:47 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-26 06:39:46 +0200 |
commit | b1bb2eaa50e436e2221a1aec9749de58e4234b44 (patch) | |
tree | fcdeb68e3f02d8f93163dcc27e01601847659fa3 /scripts/library | |
parent | a98fce08968febe7395b30f15f070f400da089ed (diff) | |
download | pacman-b1bb2eaa50e436e2221a1aec9749de58e4234b44.tar.gz pacman-b1bb2eaa50e436e2221a1aec9749de58e4234b44.tar.xz |
paccache: adopt size_to_human
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'scripts/library')
-rw-r--r-- | scripts/library/size_to_human.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/library/size_to_human.sh b/scripts/library/size_to_human.sh index 9c0f0de2..1d13eeb4 100644 --- a/scripts/library/size_to_human.sh +++ b/scripts/library/size_to_human.sh @@ -6,6 +6,8 @@ size_to_human() { suffix[3] = "MiB" suffix[4] = "GiB" suffix[5] = "TiB" + suffix[6] = "PiB" + suffix[7] = "EiB" count = 1 while (size > 1024) { |