summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
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