summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-11-05 16:59:24 +0100
committerRemi Collet <remi@php.net>2021-11-05 16:59:24 +0100
commit3ebec349b0100333c93fda9cbb6afe04e1b006a8 (patch)
tree496184402318a6839bde5c756ad3eda8776b37ef /mkrepo
parent046acb1a031b2ad7d10cfe99130b3b3ce6c4c7ba (diff)
EL-9 helpers
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkrepo b/mkrepo
index 93e946e..4ca6bce 100755
--- a/mkrepo
+++ b/mkrepo
@@ -40,7 +40,10 @@ if [ "$dis" == "fedora" ]; then
fi
else
# Enterprise
- if [ "$dis" == "enterprise" -a "$ver" -ge 8 ]
+ if [ "$ver" -ge 9 ]
+ then echo "key 2021"
+ GPG_PATH=/home/remi/.gnupg2021
+ elif [ "$ver" -ge 8 ]
then echo "key 2018"
GPG_PATH=/home/remi/.gnupg2018
else echo "old key"