Commit 60fc6017 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-repo: add set command implemented via clean & change

parent 819ddf1f
......@@ -36,10 +36,14 @@ epm_repo()
load_helper epm-repofix
epm_repofix "$@"
;;
change|set) # HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt): rewrite URL to the specified server
change) # HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt): rewrite URL to the specified server
load_helper epm-repofix
epm_repofix "$@"
;;
set) # HELPCMD: <mirror>: remove all existing sources and add mirror for the branch
epm repo clean
epm addrepo "$@"
;;
clean) # HELPCMD: remove temp. repos
# TODO: check for ALT
sudocmd apt-repo $dryrun 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