diff options
Diffstat (limited to 'Master/tlpkg/bin/tl-update-containers')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-containers | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers index a6d126bfea7..91208c9faeb 100755 --- a/Master/tlpkg/bin/tl-update-containers +++ b/Master/tlpkg/bin/tl-update-containers @@ -377,6 +377,13 @@ sub main # do that. $nettlpdb->save; system("$::progs{'xz'} --force -k -z $opt_location/tlpkg/texlive.tlpdb"); + chomp (my $olddir = `pwd`); + if (chdir("$opt_location/tlpkg/")) { + system("md5sum texlive.tlpdb > texlive.tlpdb.md5"); + chdir($olddir); + } else { + tlwarn("Cannot chdir to $opt_location/tlpkg/ for md5 hash creation\n"); + } if (! @ARGV) { # do a last check that all the containers are actually present |