From 1ff3dd32a94afec40e90dda8e2c14368e4f3dbe2 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 14 Apr 2016 06:55:59 +0000 Subject: remove old sigs before signing in tl-update-images git-svn-id: svn://tug.org/texlive/trunk@40499 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-images | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images index 5949887998f..51260ab4023 100755 --- a/Master/tlpkg/bin/tl-update-images +++ b/Master/tlpkg/bin/tl-update-images @@ -135,6 +135,7 @@ MAKEINST () (cd $target && md5sum `basename $iso$ext`) >$iso$ext.md5 (cd $target && sha512sum `basename $iso$ext`) >$iso$ext.sha512 + (cd $target && rm -f $iso$ext.sha512.asc) (cd $target && gpg --batch --homedir /home/texlive/.gnupg --passphrase-file /home/texlive/.gnupg/passphrase --armor --detach-sign --local-user 0x06BAB6BC $iso$ext.sha512) ln -s `basename $iso$ext` $prefix.iso$ext @@ -145,7 +146,8 @@ MAKEINST () #ln -s `basename $iso`$ext.md5 $prefix.iso$ext.md5 #ln -s `basename $iso`$ext.sha256 $prefix.iso$ext.sha256 - gpg --homedir /home/texlive/.gnupg \ + rm -f $prefix.iso$ext.sha512.asc + gpg --batch --homedir /home/texlive/.gnupg \ --passphrase-file /home/texlive/.gnupg/passphrase \ --armor --detach-sign --local-user 0x06BAB6BC $prefix.iso$ext.sha512 @@ -189,7 +191,8 @@ do_tar () echo "$0: tar failed, goodbye." >&2 fi (cd $target && sha512sum `basename $tarfile`) >$tarfile.sha512 - (cd $target && gpg --homedir /home/texlive/.gnupg \ + (cd $target && rm -f $tarfile.sha512.asc) + (cd $target && gpg --batch --homedir /home/texlive/.gnupg \ --passphrase-file /home/texlive/.gnupg/passphrase \ --armor --detach-sign --local-user 0x06BAB6BC $tarfile.sha512) -- cgit v1.2.3