[tex-live] antt.tpm occurring in collection-langpolish and -fontsextra

Norbert Preining preining at logic.at
Fri Oct 7 00:20:20 CEST 2005


On Don, 06 Okt 2005, Sebastian Rahtz wrote:
> Personally, I'm with Norbert, I'd keep packages
> in only one collection at a time. However, perhaps
> a compromise would be add an extra attribute in
> the TPM file, ie " optional='true'", which would act

Good idea. When do we implement it?

(And btw, could you tell me wether this fix for Tpm.pm would include the
license information in the tpm files? There is already all the
infrastructure there in Tpm.pm. It gets the entry from the catalogue,
but it does not save it to the tpm file.
--- Tpm.pm      2005-10-02 00:48:53.000000000 +0200
+++ Tpm.pm.norb 2005-10-04 16:35:09.000000000 +0200
@@ -1155,6 +1155,7 @@
   my $old_version = &trim($self->getAttribute("Version"));
   my $old_title = &trim($self->getAttribute("Title"));
   my $old_description = &trim($self->getAttribute("Description"));
+  my $old_licence = &trim($self->getAttribute("License"));
 
   if ($author && $author ne $old_author) {
     $self->setAttribute("Author", $author);
@@ -1172,6 +1173,10 @@
     $self->setAttribute("Description", $description);
     print "Replacing $old_description by $description\n";
   }
+  if ($license && ($license ne $old_license)) {
+    $self->setAttribute("License", $license);
+    print "Replacing $old_license by $license\n";
+  }
 }


Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
sip:preining at at43.tuwien.ac.at                             +43 (0) 59966-690018
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
AMLWCH (n.)
A British Rail sandwich which has been kept soft by being regularly
washed and resealed in clingfilm.
			--- Douglas Adams, The Meaning of Liff



More information about the tex-live mailing list