Commit fc492cf1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: more verbose about stalled versions

parent ee32c4ea
......@@ -13,6 +13,11 @@ fatal()
exit 1
}
info()
{
echo "$*"
}
[ -n "$BIGTMPDIR" ] || [ -d "/var/tmp" ] && BIGTMPDIR="/var/tmp" || BIGTMPDIR="/tmp"
cd_to_temp_dir()
......
......@@ -25,7 +25,6 @@ case "$arch" in
esac
if ! is_glibc_enough 2.34 ; then
#fatal "glibc is too old"
PKGURL="$(snap_get_pkgurl $URL)"
else
PKGURL="https://lcdn.icons8.com/setup/$file"
......
......@@ -15,7 +15,7 @@ case "$(epm print info -s)" in
;;
esac
is_stdcpp_enough "11.0" || VERSION="4.1.0"
is_stdcpp_enough "11.0" || VERSION="4.1.0" && info "libstdc++ version below 11.0, we'll stick with the old version $VERSION"
if [ "$VERSION" = "*" ]; then
VERSION=$(eget -O- https://mango3d.io/download-lychee-slicer | grep -o "Lychee Slicer [0-9].[0-9].[0-9]" | awk '{print $3}')
......
......@@ -29,6 +29,7 @@ case "$(epm print info -s)" in
if ! is_glibc_enough 2.32 ; then
# need old glibc
VERSION=7.3.3
info "glibc version below 11.0, we'll stick with the old version $VERSION"
fi
;;
esac
......
......@@ -8,7 +8,7 @@ URL="https://www.synology.com/"
. $(dirname $0)/common.sh
is_stdcpp_enough "11.0" || VERSION="3.2.1"
is_stdcpp_enough "11.0" || VERSION="3.2.1" && info "libstdc++ version below 11.0, we'll stick with the old version $VERSION"
# it is so strange, package name contains 3.x.x, but package version is 7.x.x
[ "$VERSION" = "*" ] && VERSION="[0-9]*" || VERSION="$(echo "$VERSION" | sed -e 's|^7|3|')"
......
......@@ -14,10 +14,12 @@ TIPS="Run 'epm play telegram=beta' to install beta version of the Telegram clien
if [ -n "$CHECKED_VERSION" ] || [ "$VERSION" = "*" ] ; then
if ! is_glibc_enough 2.32 ; then
VERSION="4.9.5"
info "glibc version below 2.32, we'll stick with the old version $VERSION"
fi
if ! is_glibc_enough 2.28 ; then
VERSION="4.5.1"
info "glibc version below 2.28, we'll stick with the old version $VERSION"
fi
fi
......
......@@ -21,6 +21,8 @@ case $vendor in
VERSION="3.4.2"
else
VERSION="3.3.0"
info "glibc version below 2.35, we'll stick with the old version $VERSION"
fi
PKGURL="https://hub.unity3d.com/linux/repos/deb/pool/main/u/unity/unityhub_$arch/unityhub-amd64-$VERSION.deb"
install_pkgurl
......
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