summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/htmltext3
-rwxr-xr-xMaster/tlpkg/bin/tlpsizes2
2 files changed, 3 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/htmltext b/Master/tlpkg/bin/htmltext
index b03826a5d4c..99daca0ab37 100755
--- a/Master/tlpkg/bin/htmltext
+++ b/Master/tlpkg/bin/htmltext
@@ -19,5 +19,6 @@ for url in "$@"; do
# Since the reference list is useful, we fix it up by hand instead of
# using -nolist.
lynx -dump -nocolor -hiddenlinks=ignore "$url" \
- | sed 's,file://localhost/tmp/,file:,'
+ | sed -e 's,file://localhost/home/texlive/karl/Master/,file:../,' \
+ -e 's,file://localhost/home/texlive/karl/,file:../../,'
done
diff --git a/Master/tlpkg/bin/tlpsizes b/Master/tlpkg/bin/tlpsizes
index b198168c01d..795e935cdd0 100755
--- a/Master/tlpkg/bin/tlpsizes
+++ b/Master/tlpkg/bin/tlpsizes
@@ -60,7 +60,6 @@ sub main {
$c_size{$name} = $pkg_sizes->{__TOTAL__};
delete $pkg_sizes->{"__TOTAL__"}; # don't need that any more
delete $pkg_sizes->{"hyph-utf8"} if $name =~ m/^collection-lang/;
- delete $pkg_sizes->{$name}; # always includes itself, with zero size
$c_pkgs{$name} = &pkgs_by_size (%$pkg_sizes);
@@ -86,6 +85,7 @@ sub pkgs_by_size {
for my $p (sort { $pkg_sizes{$b} <=> $pkg_sizes{$a} }
keys %pkg_sizes) {
+ next if $pkg_sizes{$p} == 0;
$ret .= " ";
$ret .= $pkg_sizes{$p} / 1024;
$ret .= "/$p";