diff options
-rw-r--r-- | trunk/lib/common.sh | 2 | ||||
-rwxr-xr-x | trunk/src/mkbuild | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index c3b09d6..78b8be8 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -1696,7 +1696,7 @@ function update_keyring { keyring="$1" if [ ! -e "$keyring" ]; then - repo_gpg_key $MKBUILDS_DIR + repo_gpg_key `dirname $keyring` return fi diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index 0f786e1..049cfc9 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -714,10 +714,6 @@ function submit_mkbuild { submit_cleanup - if [ "$SIGN_MANIFESTS" -eq $on ]; then - repo_gpg_key $MKBUILDS_DIR - fi - cd $WORK } @@ -1449,6 +1445,11 @@ function make_slackbuild { verbose -e "\nEdit others [[]] parameters ..." change_other_parameters + if [ "$SIGN_MANIFESTS" -eq $on ]; then + mkbuild_update_keyring + repo_gpg_key $MKBUILDS_DIR + fi + # Update Manifest file edit_manifest |