change)# HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt/altlinux.org/eterfund.org): rewrite URLs to the specified server
change)# HELPCMD: <mirror>: switch sources to the mirror (supports etersoft/yandex/basealt/altlinux.org/eterfund.org): rewrite URLs to the specified server
epm_repochange "$@"
epm_repochange "$@"
;;
;;
set)# HELPCMD: <mirror>: remove all existing sources and add mirror for the branch
set)# HELPCMD: <repo>: remove all existing sources and add default mirror for the branch
if[-z"$1"];then
if_valid_reponame "$1"|| fatal "No valid repository is specified."
fatal "No repository specified."
[-n"$quiet"]|| epm repo list
fi
confirm_info 'You are about to set repo '"$*""(all repos will be removed)."