Commit e9bcef68 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play common.sh: use last unknown version if --ipfs in use

parent e81b7a54
......@@ -352,6 +352,11 @@ is_supported_arch "$(epm print info -a)" || fatal "Only '$SUPPORTEDARCHES' archi
# skip install if there is package installed not via epm play
is_repacked_package $REPOPKGNAME || exit 0
if [ -z "$VERSION" ] && [ -n "$EGET_IPFS_DB" ] ; then
# IPFS is using, use known version
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