summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-01-21 17:21:11 +0000
committerNorbert Preining <preining@logic.at>2009-01-21 17:21:11 +0000
commitfc5b68d1ee39263ba3d73c51113a465a2483d9e8 (patch)
treea978678a5c9bf3383c10e64bfed05a4a45ed0dd4
parent7d7098bd74dddac3ff29dceabea85650ba0efd06 (diff)
add some commented code for lzmadec warning
git-svn-id: svn://tug.org/texlive/trunk@11939 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 736d5b830df..719036dbcc1 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -1284,6 +1284,12 @@ sub setup_programs {
(my $lzmadec = $::progs{'lzmadec'}) =~ s/^"(.*)"/$1/;
my $found_lzmadec = -x $lzmadec;
+ # should we do something like this?
+ #if (-r $lzmadec && ! -x $lzmadec) {
+ # warn "$lzmadec is not executable. You might want to mount the DVD without the 'noexec' option.";
+ # return 0;
+ #}
+
# check if the programs are working, but do not test tar, we rely on
# the system having a usable one. The main point is to check the
# binaries we provide.