rm existing .sig file to avoid corrupted signature
https://forum.manjaro.org/t/troubleshooting-signature-errors-with-boxit/26178/
This commit is contained in:
parent
965de2f5fc
commit
4b76f7fa83
1 changed files with 1 additions and 0 deletions
|
@ -26,4 +26,5 @@ if [ ! -e "$1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg2 "Signing [%s] with key %s" "${1##*/}" "${GPGKEY}..."
|
msg2 "Signing [%s] with key %s" "${1##*/}" "${GPGKEY}..."
|
||||||
|
[[ -e "$1".sig ]] && rm "$1".sig
|
||||||
gpg --detach-sign --use-agent -u "${GPGKEY}" "$1"
|
gpg --detach-sign --use-agent -u "${GPGKEY}" "$1"
|
||||||
|
|
Loading…
Reference in a new issue