From: Adam Dickmeiss Date: Fri, 8 Mar 2013 18:59:16 +0000 (+0000) Subject: Fix check for whether an RPM has been signed already X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=de9d248a70f3fac16b81b0907e9002692b3e1178;p=git-tools-moved-to-github.git Fix check for whether an RPM has been signed already --- 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