summaryrefslogtreecommitdiff
path: root/Master/tlpkg/installer/install-menu-text.pl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-06-18 06:43:26 +0000
committerNorbert Preining <preining@logic.at>2009-06-18 06:43:26 +0000
commit7af7021e141e0d8f197e16bb6d51f73612557749 (patch)
tree3d437ee52ab3adbbbc99d83cdcb1f221dd450bc6 /Master/tlpkg/installer/install-menu-text.pl
parenteed6246121c1fd59b6c3afb98300d09064b30ceb (diff)
offer TeX Works installation only on Windows
git-svn-id: svn://tug.org/texlive/trunk@13805 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/installer/install-menu-text.pl')
-rwxr-xr-xMaster/tlpkg/installer/install-menu-text.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/tlpkg/installer/install-menu-text.pl b/Master/tlpkg/installer/install-menu-text.pl
index bec29497c9d..20d98b0cd93 100755
--- a/Master/tlpkg/installer/install-menu-text.pl
+++ b/Master/tlpkg/installer/install-menu-text.pl
@@ -748,8 +748,8 @@ EOF
# if we are admin we allow normal user installation, too
print " <U> make installation available to all users: $b_admin\n";
}
+ print " <E> install TeX Works editor: $b_addoneditor\n";
}
- print " <E> install TeX Works editor: $b_addoneditor\n";
}
other_options qw(R Q diskspace);
my $answer = prompt 'Enter command';
@@ -824,7 +824,7 @@ EOF
} elsif (defined $command{"\u$answer"}) {
return $command{"\u$answer"};
- } elsif ("\u$answer" eq 'E') {
+ } elsif (("\u$answer" eq 'E') && win32()) {
toggle 'addon_editor';
return $command{'self'};