summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpkg-by-size
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tlpkg-by-size')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-by-size6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/tlpkg/bin/tlpkg-by-size b/Master/tlpkg/bin/tlpkg-by-size
index 9b204966e0b..3f15ffb1d3d 100755
--- a/Master/tlpkg/bin/tlpkg-by-size
+++ b/Master/tlpkg/bin/tlpkg-by-size
@@ -5,9 +5,9 @@
test $# -eq 0 && set - /home/ftp/texlive/tlnet/2008/archive
cd "$1" || exit 1
-for pkgtar in `ls *.tar.lzma | egrep -v '\..*\.tar\.lzma$'`; do
- pkg=`echo $pkgtar | sed 's/\.tar\.lzma$//'`
- size=`cat $pkg.*tar.lzma | wc -c`
+for pkgtar in `ls *.tar.xz | egrep -v '\..*\.tar\.xz$'`; do
+ pkg=`echo $pkgtar | sed 's/\.tar\.xz$//'`
+ size=`cat $pkg.*tar.xz | wc -c`
size=`expr $size / 1024`
printf "%6d %s\n" $size "$pkg"
done | sort -nr