texlive[46908] Master/install-tl: add repository setting if specified

commits+preining at tug.org commits+preining at tug.org
Sat Mar 10 01:46:29 CET 2018


Revision: 46908
          http://tug.org/svn/texlive?view=revision&revision=46908
Author:   preining
Date:     2018-03-10 01:46:28 +0100 (Sat, 10 Mar 2018)
Log Message:
-----------
add repository setting if specified on the cmd line on restart msg

Modified Paths:
--------------
    trunk/Master/install-tl

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2018-03-09 23:04:40 UTC (rev 46907)
+++ trunk/Master/install-tl	2018-03-10 00:46:28 UTC (rev 46908)
@@ -1972,12 +1972,13 @@
     tlwarn("Installation failed.\n");
     tlwarn("Rerunning the installer will try to restart the installation.\n");
     tlwarn("Or you can restart by running the installer with:\n");
+    my $repostr = ($opt_location ? " --repository $location" : "");
     if (win32()) {
-      tlwarn("  install-tl-windows.bat --profile $profile_name [EXTRA-ARGS]\n"
+      tlwarn("  install-tl-windows.bat$repostr --profile $profile_name [EXTRA-ARGS]\n"
         ."or\n"
-        ."  install-tl-advanced.bat --profile $profile_name [EXTRA-ARGS]\n");
+        ."  install-tl-advanced.bat$repostr --profile $profile_name [EXTRA-ARGS]\n");
     } else {
-      tlwarn("  install-tl --profile $profile_name [EXTRA-ARGS]\n");
+      tlwarn("  install-tl$repostr --profile $profile_name [EXTRA-ARGS]\n");
     }
     flushlog();
     exit(1);



More information about the tex-live-commits mailing list