summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-12-16 18:54:01 +0000
committerNorbert Preining <preining@logic.at>2009-12-16 18:54:01 +0000
commitfff7e9bba4d6038c09725b7c4a9831c6b23d14cb (patch)
treeedaaeb6b32f3e9e6439c495e72c19c7473fc7eaf /Master/tlpkg/TeXLive
parent6d17760795e78ffc8a12f1408ba935b41a8a462f (diff)
do not take over empty captions (for shortdesc) and description (for longdesc)
git-svn-id: svn://tug.org/texlive/trunk@16426 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLPOBJ.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm
index f5669398359..bb13494488c 100644
--- a/Master/tlpkg/TeXLive/TLPOBJ.pm
+++ b/Master/tlpkg/TeXLive/TLPOBJ.pm
@@ -778,10 +778,10 @@ sub update_from_catalogue
#if (defined($entry->miktex)) {
# $self->cataloguedata->{'miktex'} = $entry->miktex;
#}
- if (defined($entry->caption)) {
+ if (defined($entry->caption) && $entry->caption ne "") {
$self->{'shortdesc'} = $entry->caption unless $self->{'shortdesc'};
}
- if (defined($entry->description)) {
+ if (defined($entry->description) && $entry->description ne "") {
$self->{'longdesc'} = $entry->description unless $self->{'longdesc'};
}
#