gen-yum: use gpg2 to make use of gpg-agent
This commit is contained in:
parent
5bb8b6dd38
commit
4881aaea09
1 changed files with 1 additions and 1 deletions
2
gen-yum
2
gen-yum
|
@ -25,7 +25,7 @@ for base_dir in $BASE_DIRS; do
|
||||||
if [ ! -e repodata/repomd.xml.asc \
|
if [ ! -e repodata/repomd.xml.asc \
|
||||||
-o repodata/repomd.xml.asc -ot repodata/repomd.xml ]; then
|
-o repodata/repomd.xml.asc -ot repodata/repomd.xml ]; then
|
||||||
rm -f repodata/repomd.xml.asc
|
rm -f repodata/repomd.xml.asc
|
||||||
gpg -u $GPG_KEY --detach-sign --armor repodata/repomd.xml
|
gpg2 -u $GPG_KEY --detach-sign --armor repodata/repomd.xml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue