summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-05-19 20:48:02 +0000
committerNorbert Preining <preining@logic.at>2008-05-19 20:48:02 +0000
commit1f2a8f123983d4c33360a062dfda1a974d3049e5 (patch)
tree3e899e11932fd108ecfc69bc09ab5273d60a4b95
parent4166513a35fd66192b91fd667b3b386175bb9b5b (diff)
tlmgr.pl: do not try to update bin-texlive and texlive-infra when running
on win32, this does not work. A pity. git-svn-id: svn://tug.org/texlive/trunk@8239 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 93f3212e5ed..fefd4333c22 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -575,6 +575,10 @@ sub action_update {
}
foreach my $pkg (@todo) {
next if ($pkg =~ m/^00texlive/);
+ if (win32() && (($pkg eq "texlive-infra) || ($pkg eq "bin-texlive"))) {
+ info("We cannot upgrade $pkg on win32, since we are running it!\n");
+ next;
+ }
my $tlp = $localtlpdb->get_package($pkg);
if (!defined($tlp)) {
printf STDERR "Strange, $pkg cannot be found!\n";