summaryrefslogtreecommitdiff
path: root/Master/tlpkg/archive/applied.include-schemes.patch
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-10-29 22:28:07 +0000
committerNorbert Preining <preining@logic.at>2008-10-29 22:28:07 +0000
commit87503f94ffcb5180165c8fb9d0f48a4054e8f23d (patch)
treefa08758036b5085d4779e6b15c3e044ed6764af0 /Master/tlpkg/archive/applied.include-schemes.patch
parent92cc3997fac50b1bdd559231dba76bc27b324214 (diff)
move applied patches to the archive dir
git-svn-id: svn://tug.org/texlive/trunk@11115 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/archive/applied.include-schemes.patch')
-rw-r--r--Master/tlpkg/archive/applied.include-schemes.patch27
1 files changed, 27 insertions, 0 deletions
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();