update rpm versioning
Former-commit-id: 07ba64c200176370acad1b4c8be4193e98afa204
This commit is contained in:
parent
5ebad6291f
commit
628a9d5cd1
@ -5,7 +5,7 @@
|
||||
version=$1
|
||||
release=$2
|
||||
arch=$(uname -m)
|
||||
dist=el$(rpm -q --queryformat '%{VERSION}' centos-release)
|
||||
dist=el$(rpm -q --queryformat '%{VERSION}' centos-release | cut -d. -f1)
|
||||
|
||||
if [ "$arch" != "aarch64" ] || [ "$arch" != "x86_64" ]; then
|
||||
echo "This script is only valid and tested for aarch64 and x86_64 architectures. You are trying to use: $arch"
|
||||
|
Loading…
x
Reference in New Issue
Block a user