Commit ebe6069f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: add commands

parent 55c87b3d
......@@ -119,6 +119,7 @@ check_command()
# do not override command
[ -z "$epm_cmd" ] || return
# Base commands
case $1 in
-i|install|add) # HELPCMD: install package(s) from remote repositories or from local file
epm_cmd=install
......@@ -136,6 +137,7 @@ check_command()
epm_cmd=query_file
;;
# Useful commands
reinstall) # HELPCMD: reinstall package(s) from remote repositories or from local file
epm_cmd=reinstall
;;
......@@ -164,6 +166,7 @@ check_command()
epm_cmd=packages
;;
# Repository control
update) # HELPCMD: update remote package repository databases
epm_cmd=update
;;
......@@ -177,6 +180,7 @@ check_command()
epm_cmd=removerepo
;;
# Other commands
clean) # HELPCMD: clean local package cache
epm_cmd=clean
;;
......
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