Commit 2d5ebd33 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm repo set: dont delete all repos if repo list is empty (eterbug #17788)

parent 35ff7105
......@@ -52,6 +52,9 @@ epm_repo()
epm_repochange "$@"
;;
set) # HELPCMD: <mirror>: remove all existing sources and add mirror for the branch
if [ -z "$1" ]; then
fatal "No repository specified."
fi
epm repo rm all
epm addrepo "$@"
;;
......
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