summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-12 15:49:33 +0100
committerRemi Collet <remi@remirepo.net>2018-01-12 15:49:33 +0100
commit358505da615f0f5487f812115742952c9520ea7b (patch)
tree2f4f2809d968e25e16b85608a7e62ad1aab371f2 /mkrepo
parent3caa936d038453165f76a80d8fe2f7d2b9a28a79 (diff)
fix check command
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkrepo b/mkrepo
index 51b4be8..6d496f9 100755
--- a/mkrepo
+++ b/mkrepo
@@ -17,11 +17,11 @@ fi
if [ ${1:-check} != nocheck ]; then
echo "+ Controle des signatures"
- rpm -K *.rpm | grep -v 'gpg.*OK' | grep -v 'pgp.*OK' | cut -d: -f1 | tee $TMP
+ rpm -K *.rpm | grep -v 'signatures.*OK' | cut -d: -f1 | tee $TMP
if [ -s $TMP ]
then
if [ "$dis" == "fedora" -a "$ver" -ge 28 ]
- then echo "key 2017"
+ then echo "key 2018"
rpmsign --define '_gpg_path /home/remi/.gnupg2018' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMP)
elif [ "$dis" == "fedora" -a "$ver" -ge 26 ]
then echo "key 2017"