Commit ebe6069f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: add commands

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