summaryrefslogtreecommitdiff
path: root/scripts/library
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-06 19:47:47 -0400
committerDan McGee <dan@archlinux.org>2012-06-25 23:39:46 -0500
commitb1bb2eaa50e436e2221a1aec9749de58e4234b44 (patch)
treefcdeb68e3f02d8f93163dcc27e01601847659fa3 /scripts/library
parenta98fce08968febe7395b30f15f070f400da089ed (diff)
downloadpacman-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.sh2
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) {