From e3a07c6b3c77cb83eb47a68450217d96bd0e7b40 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Jan 2011 00:36:58 +0000 Subject: 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 --- Master/tlpkg/bin/tl-update-auto | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-auto') 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. -- cgit v1.2.3