mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
buildiso: Do not sign ISO if GPG key is not found
Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
This commit is contained in:
1 parent
a9eaed9aa3
commit
09b04b14c9
1 file changed
+5
@@ -93,6 +93,11 @@ sign_with_key() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$GPGKEY" ]; then
|
||||||
|
warning "Skipping signing due to lack of GPG key"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
msg2 "signing [%s] with key %s" "${1##*/}" "${GPGKEY}"
|
msg2 "signing [%s] with key %s" "${1##*/}" "${GPGKEY}"
|
||||||
[[ -e "$1".sig ]] && rm "$1".sig
|
[[ -e "$1".sig ]] && rm "$1".sig
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user