From 9b9d15dfc79274a08f96f72a6f1e2e0258fec2d9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 5 Nov 2008 14:43:01 +0000 Subject: stable exit status for tl-update-nsis git-svn-id: svn://tug.org/texlive/trunk@11191 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-nsis | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Master/tlpkg/bin/tl-update-nsis') diff --git a/Master/tlpkg/bin/tl-update-nsis b/Master/tlpkg/bin/tl-update-nsis index 1fa0b3b15f4..ed26bd28550 100755 --- a/Master/tlpkg/bin/tl-update-nsis +++ b/Master/tlpkg/bin/tl-update-nsis @@ -25,12 +25,12 @@ use Pod::Usage; use File::Path; use Cwd; -my $help = 0; +my $opt_help = 0; TeXLive::TLUtils::process_logging_options(); GetOptions("help|?" => \$help) or pod2usage(1); -pod2usage(-exitstatus => 0, -verbose => 2) if $help; +pod2usage(-exitstatus => 0, -verbose => 2) if $opt_help; exit (&main ()); @@ -146,19 +146,20 @@ EOF } } print "'\nSectionEnd\n"; + + return 0; } - __END__ =head1 NAME -tl-create-nsis - creates a .nsi file for bin-texlive and texlive.infra +tl-update-nsis - creates a .nsi file for tlmgr packages =head1 SYNOPSIS -tl-create-nsis [OPTION]... +tl-update-nsis [OPTION]... =head1 OPTIONS @@ -170,7 +171,9 @@ function in L for details. Creates a C<.nsi> file that can be used with NSIS to create an update executable for Windows, to work around Windows' inability to overwrite -open files. +open files, and for disaster recovery. It contains the tlmgr-related +infrastructure files. L explains +more. =head1 AUTHORS AND COPYRIGHT -- cgit v1.2.3