From de9d248a70f3fac16b81b0907e9002692b3e1178 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 8 Mar 2013 18:59:16 +0000 Subject: [PATCH] Fix check for whether an RPM has been signed already --- update-archive/update-yum-archive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-archive/update-yum-archive.sh b/update-archive/update-yum-archive.sh index f280e64..a1a3fbd 100755 --- a/update-archive/update-yum-archive.sh +++ b/update-archive/update-yum-archive.sh @@ -98,7 +98,7 @@ for vdist in centos/5.5 rhel/5.5 centos/6; do fi if $mustsign; then ln -sf $f $d/${arch}/Packages/ - if rpm -K $f|grep -q ' gpg' >/dev/null; then + if rpm -K $f|grep -q 'GPG' >/dev/null; then echo "Already signed $f" else expect << __EOF -- 1.7.10.4