Commit 47f46322 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm update: don't run upgrade if has args

parent 0d68f24c
......@@ -331,9 +331,9 @@ check_command()
;;
# HELPCMD: PART: Repository control:
update|update-repo|ur) # HELPCMD: update remote package repository databases (with args, run upgrade)
update|update-repo|ur) # HELPCMD: update remote package repository databases
epm_cmd=update
#direct_args=1
direct_args=1
;;
addrepo|ar|--add-repo) # HELPCMD: add package repo (etersoft, autoimports, archive 2017/01/31); run with param to get list
epm_cmd=addrepo
......
......@@ -205,10 +205,10 @@ epm_update()
fi
# update with args is the alias for upgrade
if [ -n "$*" ] ; then
epm upgrade "$@"
return
fi
#if [ -n "$*" ] ; then
# epm upgrade "$@"
# return
#fi
__epm_update "$@" || return
......
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