summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-auto
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-24 00:36:58 +0000
committerKarl Berry <karl@freefriends.org>2011-01-24 00:36:58 +0000
commite3a07c6b3c77cb83eb47a68450217d96bd0e7b40 (patch)
treef5abfa339b199ac4a8cb7fdeb3ddd9c34d2e619d /Master/tlpkg/bin/tl-update-auto
parent653c7e62d7d57efbe753033780ff63b4c1a3dc23 (diff)
oh, looks like the dtd is there now. we'll see.
git-svn-id: svn://tug.org/texlive/trunk@21159 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-auto')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto36
1 files changed, 18 insertions, 18 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index 88557bd89a9..600440ae842 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -223,24 +223,24 @@ fi # !config_scripts_only
# texcatalogue.keywords
#
-#if $config_scripts_only; then :; else
-#cat_dump=/tmp/tc.xml
-#rm -f $cat_dump.new
-#wget --quiet ftp://tug.ctan.org/ftpmaint/az/texcatalogue.xml -O $cat_dump.new \
-#&& test -s $cat_dump.new && mv $cat_dump.new $cat_dump
-## if ftp fails, we'll reprocess the old dump, but that should be harmless.
-#$mydir/tl-update-keywords -input $cat_dump | tee $temp.keywords \
-#| grep -v '# Generated' >$temp.keywords.new
-##
-#keywordfile=texmf/scripts/texlive/var/texcatalogue.keywords
-#grep -v '# Generated' $keywordfile >$temp.keywords.cur
-#if $diff $temp.keywords.cur $temp.keywords.new >$temp.keywords.diff; then
-# $verbose " $keywordfile ok."
-#else
-# $chicken $cp $temp.keywords.new $keywordfile
-# update_list="$update_list $keywordfile"
-#fi
-#fi # !config_scripts_only
+if $config_scripts_only; then :; else
+cat_dump=/tmp/tc.xml
+rm -f $cat_dump.new
+wget --quiet ftp://tug.ctan.org/ftpmaint/az/texcatalogue.xml -O $cat_dump.new \
+&& test -s $cat_dump.new && mv $cat_dump.new $cat_dump
+# if ftp fails, we'll reprocess the old dump, but that should be harmless.
+$mydir/tl-update-keywords -input $cat_dump | tee $temp.keywords \
+| grep -v '# Generated' >$temp.keywords.new
+#
+keywordfile=texmf/scripts/texlive/var/texcatalogue.keywords
+grep -v '# Generated' $keywordfile >$temp.keywords.cur
+if $diff $temp.keywords.cur $temp.keywords.new >$temp.keywords.diff; then
+ $verbose " $keywordfile ok."
+else
+ $chicken $cp $temp.keywords.new $keywordfile
+ update_list="$update_list $keywordfile"
+fi
+fi # !config_scripts_only
# svn commits.