summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2016-04-14 06:55:59 +0000
committerNorbert Preining <preining@logic.at>2016-04-14 06:55:59 +0000
commit1ff3dd32a94afec40e90dda8e2c14368e4f3dbe2 (patch)
tree696c85a0b442d709da176206f38dd44b06372956 /Master
parent2abaa407a905ec07fcb9eece96f7b7765622157b (diff)
remove old sigs before signing in tl-update-images
git-svn-id: svn://tug.org/texlive/trunk@40499 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-images7
1 files 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)