diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-24 09:49:07 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-24 09:49:07 -0400 |
commit | 4f8385602a2cedecd2affe45ef281727ad4677af (patch) | |
tree | cb8f57f5c5737cf1017e0b7ec87eef9a2ea993f7 /src | |
parent | 6eb6aa42f9860b7a46bedd72d2bb313ebd48c809 (diff) | |
parent | 26d7dc229acfe8b7d02b0d278c2c70eddc2326c4 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/libretools
Diffstat (limited to 'src')
-rwxr-xr-x | src/abslibre-tools/librerelease | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease index efb698e..5a98cf8 100755 --- a/src/abslibre-tools/librerelease +++ b/src/abslibre-tools/librerelease @@ -69,12 +69,14 @@ function sign_packages { fi fi - msg2 "Signing ${package}..." - gpg --default-key "${SIGID}" --output "${package}${SIGEXT}" \ - --detach-sig "${package}" || { - error "Signing failed" - exit 2 - } + if ! [ -f "${package}${SIGEXT}" ]; then + msg2 "Signing ${package}..." + gpg --default-key "${SIGID}" --output "${package}${SIGEXT}" \ + --detach-sig "${package}" || { + error "Signing failed" + exit 2 + } + fi done } |