[tex-live] tlmgr "Update all installed" via commandline?

Lars Madsen daleif at imf.au.dk
Wed Sep 5 11:08:43 CEST 2012

Kevin Godby wrote, On 2012-09-05 09:32:
> Hello, Lars.
> On Wed, Sep 5, 2012 at 2:29 AM, Lars Madsen <daleif at imf.au.dk> wrote:
>> Reinhard Kotucha wrote, On 2012-09-05 00:18:
>>> It seems to be sufficient look to into the perldoc file and determine
>>> from the shebang line whether it's a Perl or Shell script.  The "real"
>>> perldoc script begins with #!/usr/bin/perl .
>> are you sure, someone once scorned me because I assumed a placement like
>> that covered all linux
> Norbert's patch actually runs perldoc -V (which would print the
> version information if the real perldoc script is being called and
> does nothing otherwise) and checks the exit code. The dummy perldoc
> script returns an exit code of 1 while the real perldoc script returns
> an exit code of 0.
> --Kevin

seems like a good choice

(didn't see Norbert's patch until after I had answered)



More information about the tex-live mailing list