We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b7b533 commit f52815dCopy full SHA for f52815d
pkg/rpm/generate_rpms.sh
@@ -6,6 +6,9 @@ version=$(grep KEYDB_REAL_VERSION $DIR/../../src/version.h | awk '{ printf $3 }'
6
release=1 # by default this will always be 1 for keydb version structure. If build release version needs to be update you can modify here
7
arch=$(uname -m)
8
dist=el$(rpm -q --queryformat '%{VERSION}' centos-release | cut -d. -f1)
9
+if [[ "$dist" == "elpackage centos-release is not installed" ]]; then
10
+ dist=el$(rpm -q --queryformat '%{VERSION}' centos-linux-release | cut -d. -f1)
11
+fi
12
13
if [[ "$arch" != "aarch64" ]] && [[ "$arch" != "x86_64" ]]; then
14
echo "This script is only valid and tested for aarch64 and x86_64 architectures. You are trying to use: $arch"
0 commit comments