summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlcritical
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlcritical')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlcritical8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical
index 37bf367117a..c6052e89f48 100755
--- a/Master/tlpkg/bin/tl-update-tlcritical
+++ b/Master/tlpkg/bin/tl-update-tlcritical
@@ -44,11 +44,15 @@ do_updater ()
mv $newfile $tlcrit # move new file
#
# make checksum for new file
- (cd $tlcrit && sha256sum $newfile >$newfile.sha256)
+ (cd $tlcrit && sha512sum $newfile >$newfile.sha512)
+ (cd $tlcrit && gpg --homedir /home/texlive/.gnupg \
+ --passphrase-file /home/texlive/.gnupg/passphrase \
+ --armor --detach-sign --local-user 0x06BAB6BC $newfile.sha512)
#
# link to generic names
(cd $tlcrit && ln -s $newfile update-tlmgr-latest.$type)
- (cd $tlcrit && ln -s $newfile.sha256 update-tlmgr-latest.$type.sha256)
+ (cd $tlcrit && ln -s $newfile.sha512 update-tlmgr-latest.$type.sha512)
+ (cd $tlcrit && ln -s $newfile.sha512.asc update-tlmgr-latest.$type.sha512.asc)
}
# additionally disabled packages