diff options
-rwxr-xr-x | Master/tlpkg/bin/tl-update-install-pkg | 8 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc | 6 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/texlive.infra.tlpsrc | 4 |
3 files changed, 17 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-install-pkg b/Master/tlpkg/bin/tl-update-install-pkg index c9398fa7f06..a1487936a41 100755 --- a/Master/tlpkg/bin/tl-update-install-pkg +++ b/Master/tlpkg/bin/tl-update-install-pkg @@ -114,6 +114,7 @@ die "$0: Output directory not writable: $outputdir.\n" unless -w $outputdir; my $tlpdb = TeXLive::TLPDB->new ("root" => $installerdir); die "$0: Cannot find tlpdb in $installerdir.\n" unless defined $tlpdb; + my $tlp = $tlpdb->get_package("00texlive.installer"); die "$0: no 00texlive.installer in ${installerdir}'s texlive.tlpdb" unless defined $tlp; @@ -122,11 +123,18 @@ my $tlpinfra = $tlpdb->get_package("texlive.infra"); die "$0: no texlive.infra in ${installerdir}'s texlive.tlpdb" unless defined $tlpinfra; +my $tlptrans = $tlpdb->get_package("texlive-msg-translations"); +die "$0: no texlive-msg-translations in ${installerdir}'s texlive.tlpdb" + unless defined $tlptrans; + my @unix = (); push @unix, $tlp->runfiles; push @unix, grep(!/^texmf\//, $tlpinfra->runfiles); push @unix, $tlp->docfiles; +# add translations +push @unix, $tlptrans->runfiles; + # add the texlive-XX docs in pdf and html format if the option is given. # if ($opt_texlivedocs) { diff --git a/Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc b/Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc new file mode 100644 index 00000000000..78c2aac069a --- /dev/null +++ b/Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc @@ -0,0 +1,6 @@ +category TLCore +shortdesc translations of the TeX Live installer and TeX Live Manager +longdesc This package contains the translated messages of the TeX Live +longdesc installer and TeX Live Manager. +# +runpattern d tlpkg/translations diff --git a/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc b/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc index 341ad0c2f08..d8b5e1e7f1f 100644 --- a/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc +++ b/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc @@ -12,7 +12,9 @@ runpattern d readme-html.dir runpattern d readme-txt.dir runpattern d texmf/scripts/texlive/tlmgrgui runpattern d tlpkg/TeXLive -runpattern d tlpkg/translations +# we move the translations out of the main package to make updates easier +# runpattern d tlpkg/translations +depend texlive-msg-translations runpattern f LICENSE* runpattern f README runpattern f README* |