Only recreate signatures if needed

This commit is contained in:
Pierre Schmitz 2012-03-04 18:39:11 +01:00
parent 392c57b2bd
commit 15f80006f7

View File

@ -56,8 +56,10 @@ done < packager-keyids
cat master/*.asc packager/*.asc > archlinux.gpg
for s in archlinux{.gpg,-trusted,-revoked}; do
if ! ${GPG} --verify ${s}.sig; then
rm -f ${s}.sig
gpg --detach-sign --use-agent ${s}
fi
done
popd >/dev/null