Commit 972ba7a4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: install latest tested version by default

parent 6ebcd143
......@@ -363,6 +363,11 @@ if [ -z "$VERSION" ] && [ -n "$EGET_IPFS_DB" ] ; then
VERSION="$(get_latest_version $PKGNAME)"
fi
if [ -z "$VERSION" ] && [ -z "$force" ] ; then
# by default use known version to install
VERSION="$(get_latest_version $PKGNAME)"
fi
# default version value (can be overrided with arg $2 or by update)
[ -n "$VERSION" ] || VERSION="*"
......
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