Added support build RPM under MSVSphere 9
This commit is contained in:
@@ -28,7 +28,7 @@ type=$(grep "^ID=" /etc/os-release | cut -f 2 -d '"')
|
||||
VERSION=$type
|
||||
|
||||
# TODO: Not sure if condition below is required
|
||||
if [[ "$type" =~ ^(rhel|almalinux|eurolinux|ol|rocky|centos)$ ]]; then
|
||||
if [[ "$type" =~ ^(rhel|almalinux|eurolinux|ol|rocky|centos|msvsphere)$ ]]; then
|
||||
release=$(rpm --eval='%rhel')
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user