Commit c71d2cce authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play occt: add checking for glibc 2.34 or above

parent 0762a643
......@@ -8,6 +8,10 @@ URL="https://www.ocbase.com/download"
. $(dirname $0)/common.sh
if ! is_glibc_enough 2.34 ; then
fatal "Версия glibc слишком старая, требуется система с glibc 2.34 и выше."
fi
if [ "$VERSION" = "*" ] ; then
VERSION=$(eget -q -O- https://www.ocbase.com/download | grep -oP '"versionStr":"\K[0-9]+\.[0-9]+\.[0-9]+' | sort -V | tail -n1)
PKGURL="https://dl.ocbase.com/linux/per/stable/OCCT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment