summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-02-15 11:01:41 +0100
committerRemi Collet <remi@php.net>2022-02-15 11:01:41 +0100
commitaa54d84b3f942d69ef67c8341237ba1d62392211 (patch)
tree3a096d929e0c175141858477d1b414c07b024bbc /mkrepo
parent1cc0ab69aeac26aa71609c948028dbf2266a4af3 (diff)
all keys moved in same folder
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo8
1 files changed, 1 insertions, 7 deletions
diff --git a/mkrepo b/mkrepo
index 0e6c165..abca8e7 100755
--- a/mkrepo
+++ b/mkrepo
@@ -23,23 +23,20 @@ else
dst=/data/rpms/old
fi
+GPG_PATH=/home/remi/.gnupgrpm
if [ "$dis" == "fedora" ]; then
# Fedora
if [ "$ver" -ge 36 ]
then echo "key 2022"
- GPG_PATH=/home/remi/.gnupgrpm
GPG_NAME="845160D23149DAD504F0A32D83C0639E1FEF0014"
elif [ "$ver" -ge 34 ]
then echo "key 2021"
- GPG_PATH=/home/remi/.gnupg2021
GPG_NAME="B1ABF71E14C9D74897E198A8B19527F1478F8947"
elif [ "$ver" -ge 32 ]
then echo "key 2020"
- GPG_PATH=/home/remi/.gnupg2020
GPG_NAME="34C10BDBCC6F1B252E50BA1A0714919E4C21A808"
elif [ "$ver" -ge 30 ]
then echo "key 2019"
- GPG_PATH=/home/remi/.gnupg2019
GPG_NAME="5F136145BF10369B7685D8DE503666CCBBAE6F1B"
else echo "older key"
exit 1
@@ -48,14 +45,11 @@ else
# Enterprise
if [ "$ver" -ge 9 ]
then echo "key 2021"
- GPG_PATH=/home/remi/.gnupg2021
GPG_NAME="B1ABF71E14C9D74897E198A8B19527F1478F8947"
elif [ "$ver" -ge 8 ]
then echo "key 2018"
- GPG_PATH=/home/remi/.gnupg2018
GPG_NAME="6B38FEA7231F87F52B9CA9D8555097595F11735A"
else echo "old key"
- GPG_PATH=/home/remi/.gnupgrpm
GPG_NAME="1EE04CCE88A4AE4AA29A5DF5004E6F4700F97F56"
fi
fi