From c7b5e0a4b2161566a7599fc29768c83f5f3ade27 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Wed, 7 Jul 2010 16:38:33 +0200 Subject: [PATCH 1/1] Generate GPG signature --- update-archive/update-yum-archve.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 1.7.10.4