Generate GPG signature
authorJakub Skoczen <jakub@indexdata.dk>
Wed, 7 Jul 2010 14:38:33 +0000 (16:38 +0200)
committerJakub Skoczen <jakub@indexdata.dk>
Wed, 7 Jul 2010 14:38:33 +0000 (16:38 +0200)
update-archive/update-yum-archve.sh

index 40f0f3e..4800c0a 100755 (executable)
@@ -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