diff options
author | Remi Collet <remi@remirepo.net> | 2018-01-12 15:49:33 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-01-12 15:49:33 +0100 |
commit | 358505da615f0f5487f812115742952c9520ea7b (patch) | |
tree | 2f4f2809d968e25e16b85608a7e62ad1aab371f2 /mkrepo | |
parent | 3caa936d038453165f76a80d8fe2f7d2b9a28a79 (diff) |
fix check command
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |