File source-texdoc.dif of Package texlive-bin
--- texk/texlive/linked_scripts/tetex/texdoctk.pl
+++ texk/texlive/linked_scripts/tetex/texdoctk.pl 2008-09-24 14:56:14.000000000 +0000
@@ -1458,7 +1458,7 @@ sub writerc {
mv $myrc,"$myrc.save" if (-e $myrc);
open(MYRC,">$myrc");
print MYRC "# user's .texdocrc, generated by program\n
-# root of user's doc directory (from \$HOMETEXMF)
+# root of user's doc directory (from \$TEXMFHOME)
# can be left empty if \$TEXMFHOME is undefined
HOMEDOCPATH=$homedocpath_tmp
# general viewer behaviour (y or yes to make active)
@@ -1621,9 +1621,9 @@ sub readrc {
$localdocpath="$texmflocal/$localdocpath";
}
}
-# find user's $HOMETEXMF/doc, if there is one
+# find user's $TEXMFHOME/doc, if there is one
if ($icall == 2 || $pathflagh == 1) {
- $texmfhome=`kpsewhich --expand-path=${qq}\$HOMETEXMF${qq}`;
+ $texmfhome=`kpsewhich --expand-path=${qq}\$TEXMFHOME${qq}`;
chomp $texmfhome;
if (length $texmfhome) {
# if HOMEDOCPATH is not explicitly defined, it equals TEXDOCPATH
--- texmf-dist/texdoc/texdoc.cnf
+++ texmf-dist/texdoc/texdoc.cnf 2010-11-12 11:46:52.320054617 +0000
@@ -61,8 +61,11 @@
# For each "ext" in zipext_list, you must define a "unzip_ext" unzipper.
# The unzipped data must be printed on stdout. Example:
#
-# zipext_list = gz
-# unzip_gz = gzip -d -c
+zipext_list = gz, bz2, xz, lzma
+unzip_gz = gzip -d -c
+unzip_bz2 = bzip2 -d -c
+unzip_xz = xz -d -c
+unzip_lzma = lzma -d -c
## User interaction