texlive[43990] Master/texmf-dist/scripts/texlive/tlmgr.pl: tlmgr
commits+preining at tug.org
commits+preining at tug.org
Sun Apr 23 15:21:29 CEST 2017
Revision: 43990
http://tug.org/svn/texlive?view=revision&revision=43990
Author: preining
Date: 2017-04-23 15:21:28 +0200 (Sun, 23 Apr 2017)
Log Message:
-----------
tlmgr shell: make sure we restart after self update
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2017-04-23 10:46:51 UTC (rev 43989)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2017-04-23 13:21:28 UTC (rev 43990)
@@ -6689,6 +6689,11 @@
} else {
print "OK\n";
}
+ # make sure that we restart after having called update --self!
+ if (($cmd eq 'update') && $opts{'self'}) {
+ print "tlmgr has been updated, restarting!\n";
+ exec("tlmgr", @::SAVEDARGV);
+ }
%opts = %savedopts;
} else {
print "ERROR unknown command\n";
More information about the tex-live-commits
mailing list