diff options
author | Norbert Preining <preining@logic.at> | 2008-01-07 11:30:52 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-01-07 11:30:52 +0000 |
commit | 36ea75d160933b1cddbbf9c4cfa94f08dcc10bb4 (patch) | |
tree | c1726ae901c92cc2657d257fe00bc4434619b3f7 /Master | |
parent | ce14cd364640cf05e1fb9df74b5fe31ae4acc07a (diff) |
should not continue if there is no texlive.pkgver
git-svn-id: svn://tug.org/texlive/trunk@6100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/tlpkg/bin/update-containers | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/update-containers b/Master/tlpkg/bin/update-containers index 1c7ce2c30ca..20c66d40a4b 100755 --- a/Master/tlpkg/bin/update-containers +++ b/Master/tlpkg/bin/update-containers @@ -63,12 +63,14 @@ sub main my %archiverevs; if (-r "$opt_containerdir/texlive.pkgver") { open(TMP,"<$opt_containerdir/texlive.pkgver") or - die "No $opt_containerdir/texlive.pkgver, please use tlpdb2container first!\n"; + die "Cannot open $opt_containerdir/texlive.pkgver for reading: $!\nPlease use tlpdb2container first!\n"; while (<TMP>) { my ($pkg,$rev) = split; $archiverevs{$pkg} = $rev; } close(TMP); + } else { + die "No $opt_containerdir/texlive.pkgver, please use tlpdb2container first!\n"; } # collect packages to be updated: my @todopacks; |