diff options
author | Remi Collet <remi@remirepo.net> | 2021-01-04 16:55:30 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-01-04 16:55:30 +0100 |
commit | 4f6a63efbd9fe2a8e6828b9861a89f6be5bea2fb (patch) | |
tree | 1c67fdf2b766c6372eb749296ddb70a0ddd9ed2c /mkrepo | |
parent | f638f029d3b83a93cc4de5eb408cfc1d055f2be9 (diff) |
add 2021 key
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -12,7 +12,7 @@ then elif [ "$nom" = "SRPMS" ] then dis=fedora - ver=33 + ver=34 old=8 dst=/data/rpms/SRPMS.remi else @@ -28,7 +28,11 @@ if [ ${1:-check} != nocheck ]; then rpm -K *.rpm | grep -v 'signatures.*OK' | cut -d: -f1 | tee $TMP if [ -s $TMP ] then - if [ "$dis" == "fedora" -a "$ver" -ge 32 ] + if [ "$dis" == "fedora" -a "$ver" -ge 34 ] + then echo "key 2021" + rpmsign --define '_gpg_path /home/remi/.gnupg2021' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMP) + + elif [ "$dis" == "fedora" -a "$ver" -ge 32 ] then echo "key 2020" rpmsign --define '_gpg_path /home/remi/.gnupg2020' --define "_gpg_name Remi's RPM repository" --addsign $(cat $TMP) |