summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-23 16:37:10 +0000
committerKarl Berry <karl@freefriends.org>2012-05-23 16:37:10 +0000
commit6e5b7e42614910164e3d370f076d9a62ad88cb7f (patch)
tree23ed9f3b0f190e1ff5c6493c543401b86de5bd21 /Master
parente32ec6eff6e44a4dc6b1c6f79705c134c2e3b3bb (diff)
(do_installation): include a 00texlive.config
package in the new tlpdb, stripped to just the minrelease and release values, so the new installation can be used as a source. git-svn-id: svn://tug.org/texlive/trunk@26598 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/install-tl12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 3689be54959..925b169034c 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -740,6 +740,18 @@ sub do_installation {
$localtlpdb->add_tlpobj($stlp);
}
}
+
+ # include a 00texlive.config package in the new tlpdb,
+ # so that further installations and updates using the new installation
+ # as the source can work. Only include the release info, the other
+ # 00texlive.config entries are not relevant for this case.
+ my $tlpobj = new TeXLive::TLPOBJ;
+ $tlpobj->name("00texlive.config");
+ my $t = $tlpdb->get_package("00texlive.config");
+ $tlpobj->depends("minrelease/" . $tlpdb->config_minrelease,
+ "release/" . $tlpdb->config_release);
+ $localtlpdb->add_tlpobj($tlpobj);
+
$localtlpdb->save unless $vars{'in_place'};
my $errcount = do_postinst_stuff();