Commit 19b4e95f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play common.sh: --force skips app-versions check like --latest

parent 567fdec5
...@@ -586,10 +586,8 @@ check_for_product_update() ...@@ -586,10 +586,8 @@ check_for_product_update()
# not installed yet, proceed with install # not installed yet, proceed with install
[ -n "$fullpkgver" ] || return [ -n "$fullpkgver" ] || return
# --latest: update from upstream, don't check app-versions # --latest or --force: update from upstream, don't check app-versions
if [ -n "$latest" ] ; then if [ -n "$latest" ] || [ -n "$force" ] ; then
[ -n "$force" ] && return
# still compare with upstream version (will be fetched by play script)
echo "Updating $PKGNAME from $fullpkgver to latest upstream version ..." echo "Updating $PKGNAME from $fullpkgver to latest upstream version ..."
return return
fi fi
...@@ -703,7 +701,7 @@ case "$1" in ...@@ -703,7 +701,7 @@ case "$1" in
exit exit
fi fi
check_for_product_update [ -n "$force" ] || [ -n "$latest" ] || check_for_product_update
# pass to run play code # pass to run play code
;; ;;
"--run") "--run")
......
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