Commit fd6d9318 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add support for just task number in removerepo

parent ba61413b
......@@ -31,6 +31,10 @@ case $DISTRNAME in
;;
esac
if ! echo "$repo" | grep -q -v "[0-9]*" ; then
repo="$(epm repolist | grep "repo/$repo" | line)"
fi
assure_exists apt-repo
sudocmd apt-repo rm "$repo"
return
......
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