summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-auto
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tl-update-auto')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index 600440ae842..68eb87a50f7 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -234,7 +234,10 @@ $mydir/tl-update-keywords -input $cat_dump | tee $temp.keywords \
#
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
+#
+if test ! -s $temp.keywords.new; then
+ $verbose " $temp.keywords.new empty, skipping."
+elif $diff $temp.keywords.cur $temp.keywords.new >$temp.keywords.diff; then
$verbose " $keywordfile ok."
else
$chicken $cp $temp.keywords.new $keywordfile