diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-30 19:53:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-30 19:53:28 +0200 |
commit | 3f5f420513a27428aad7b8aaff343ab2e99eada1 (patch) | |
tree | ac1782aa45ebea0dc4276f4ed86f464a7c8d64a9 | |
parent | ab45fb200712480c729c353c00b3adb46eac0778 (diff) |
show repo size on info
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -177,7 +177,9 @@ pkg_info () { info "Current version: " echo $LOG | grep -m1 'changeset:' | grep -E -o '[0-9]{1,}:[0-9a-f]*' info "Last update: " - echo $LOG | grep -m1 'date:' | grep -Eo '[A-Z][a-z]{2}.*' + echo $LOG | grep -m1 'date:' | grep -Eo '[A-Z][a-z]{2}.*' + info "repo size: " + du -sh .hg | grep -o '.*[KMG]' if ([ -r .deps ]) { info "Dependencies:\n" cat .deps |