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

Kevin Godby godbyk at gmail.com
Wed Sep 5 09:32:36 CEST 2012


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


More information about the tex-live mailing list