From: Jakub Skoczen Date: Wed, 7 Jul 2010 14:38:33 +0000 (+0200) Subject: Generate GPG signature X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=c7b5e0a4b2161566a7599fc29768c83f5f3ade27;hp=43e141b58eb5db257769497ddbb87ddcd6ac2120;p=git-tools-moved-to-github.git Generate GPG signature --- diff --git a/update-archive/update-yum-archve.sh b/update-archive/update-yum-archve.sh index 40f0f3e..4800c0a 100755 --- a/update-archive/update-yum-archve.sh +++ b/update-archive/update-yum-archve.sh @@ -1,8 +1,8 @@ #!/bin/sh -#if test ! -x /usr/bin/createrepo; then -# echo "$0: /usr/bin/createrepo missing. Install createrepo" -# exit 1 -#fi +if test ! -x /usr/bin/createrepo; then + echo "$0: /usr/bin/createrepo missing. Install createrepo" + exit 1 +fi confdir=`pwd` architectures="i386 x86_64" @@ -67,7 +67,7 @@ for vdist in centos/5.5 rhel/5.5; do fi done createrepo --update $d/${arch} - gpg --detach-sign --armor $d/${arch}/repodata/repomd.xml + gpg --detach-sign -u "Index Data" --armor $d/${arch}/repodata/repomd.xml done fi fi