Fix check for whether an RPM has been signed already
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 8 Mar 2013 18:59:16 +0000 (18:59 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 8 Mar 2013 18:59:16 +0000 (18:59 +0000)
update-archive/update-yum-archive.sh

index f280e64..a1a3fbd 100755 (executable)
@@ -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