From 87503f94ffcb5180165c8fb9d0f48a4054e8f23d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 29 Oct 2008 22:28:07 +0000 Subject: move applied patches to the archive dir git-svn-id: svn://tug.org/texlive/trunk@11115 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/archive/applied.include-schemes.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Master/tlpkg/archive/applied.include-schemes.patch (limited to 'Master/tlpkg/archive/applied.include-schemes.patch') diff --git a/Master/tlpkg/archive/applied.include-schemes.patch b/Master/tlpkg/archive/applied.include-schemes.patch new file mode 100644 index 00000000000..d7799a3836e --- /dev/null +++ b/Master/tlpkg/archive/applied.include-schemes.patch @@ -0,0 +1,27 @@ +Index: install-tl +=================================================================== +--- install-tl (revision 10152) ++++ install-tl (working copy) +@@ -490,6 +490,22 @@ + &$h(); + } + do_postinst_stuff(); ++ # now we save every scheme that is fully covered by the stuff we have ++ # installed to the $localtlpdb ++ foreach my $s ($tlpdb->schemes) { ++ my $stlp = $tlpdb->get_package($s); ++ die ("That cannot happen, $s not defined in tlpdb") unless defined($stlp); ++ my $incit = 1; ++ foreach my $d ($stlp->depends) { ++ if (!defined($localtlpdb->get_package($d))) { ++ $incit = 0; ++ last; ++ } ++ } ++ if ($incit) { ++ $localtlpdb->add_tlpobj($stlp); ++ } ++ } + $localtlpdb->save unless $vars{'from_dvd'}; + foreach $h (@::end_install_hook) { + &$h(); -- cgit v1.2.3