Commit 39e05c62 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play occt: use www.ocbase.com URL to avoid cross-domain redirect issue

parent ac116898
...@@ -14,7 +14,7 @@ fi ...@@ -14,7 +14,7 @@ fi
if [ "$VERSION" = "*" ] ; then 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) 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" PKGURL="https://www.ocbase.com/download/edition:Personal/os:Linux"
else else
PKGURL="https://www.ocbase.com/download/edition:Personal/os:Linux/version:$VERSION" PKGURL="https://www.ocbase.com/download/edition:Personal/os:Linux/version:$VERSION"
fi fi
......
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