Commit c134f961 authored by Ram-Z's avatar Ram-Z

Overwrite sigs if they already exist

parent 6eb0e315
......@@ -153,7 +153,7 @@ sign_online_database() {
status_start "Remotely signing database: $1\n"
for ext in gz xz; do
ssh -R $_remote_socket:$_local_socket $_ssh_user@$_rsync_server -p $_ssh_port \
gpg --batch --detach-sign packages/$1/$(get_arch)/$1.db.tar.$ext
gpg --batch --yes --detach-sign packages/$1/$(get_arch)/$1.db.tar.$ext
done
newline
status_done
......@@ -165,7 +165,7 @@ sign_online_pkg() {
local _local_socket=$(gpgconf --list-dir agent-socket)
status_start "Remotely signing pkg: $1/$2 \n"
ssh -R $_remote_socket:$_local_socket $_ssh_user@$_rsync_server -p $_ssh_port \
gpg -v --batch --detach-sign "packages/$1/$(get_arch)/$2"
gpg -v --batch --yes --detach-sign "packages/$1/$(get_arch)/$2"
newline
status_done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment