mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
2 files changed
+7
-2
No files matched your search
@@ -95,5 +95,10 @@ sign_with_key() {
|
||||
|
||||
msg2 "signing [%s] with key %s" "${1##*/}" "${GPGKEY}"
|
||||
[[ -e "$1".sig ]] && rm "$1".sig
|
||||
gpg --detach-sign --use-agent -u "${GPGKEY}" "$1"
|
||||
|
||||
local SIGNWITHKEY=()
|
||||
if [[ -n $GPGKEY ]]; then
|
||||
SIGNWITHKEY=(-u "${GPGKEY}")
|
||||
fi
|
||||
gpg --detach-sign --use-agent "${SIGNWITHKEY[@]}" "$1"
|
||||
}
|
||||
Reference in new issue
Block a user