summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2022-03-09 01:23:17 +0000
committerNorbert Preining <preining@logic.at>2022-03-09 01:23:17 +0000
commita3697b55e4bc92acb92fa85d0d604d1b1373695f (patch)
tree185baf6b281833eb577694241b2ebaa616973a5d /Master/install-tl
parent7704d940c95f2dae4c0a4f4f0d77147b15169bc0 (diff)
install-tl: disk check
text mode installer shows required/free space warn on installation if space does not suffice allow overriding git-svn-id: svn://tug.org/texlive/trunk@62539 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl
index fd8c1685c64..9dd4a6c5a4c 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -951,7 +951,11 @@ sub do_installation {
if ($diskfree != -1) {
my $reserve = 100;
if ( $diskfree + $reserve < $vars{'total_size'}) {
- die("DISK SPACE INSUFFICIENT!");
+ if ($ENV{'TEXLIVE_INSTALL_NO_DISKCHECK'}) {
+ tlwarn("Insufficient disk space, but continuing anyway.");
+ } else {
+ die("DISK SPACE INSUFFICIENT!");
+ }
}
}
# now remove final slash from TEXDIR even if it is the root of a drive