Commit 41286d64 authored by Leo Iannacone's avatar Leo Iannacone

by default send size in MegaBytes

parent 490119f6
......@@ -32,7 +32,7 @@ get_all_packages = (cb) ->
get_disk_usage = (cb) ->
exec "du -d 2 #{config.debomatic.path}", (error, stdout, stderr) ->
exec "du -BM -d 2 #{config.debomatic.path}", (error, stdout, stderr) ->
if error?
if stderr?
error = '\n\t' + stderr.replace(/\n/g, '\n\t')
......
......@@ -222,7 +222,7 @@ function Page_History() {
}
for (i = 0; i < distributions.length; i++) {
labels.push(distributions[i] + ' (' + total_sizes[distributions[i]] + ')');
labels.push(distributions[i] + ' (' + total_sizes[distributions[i]] + ' MB)');
}
var options = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment