diff options
-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; |