Commit 47eed88d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-removerepo: fix removing repo by mask

parent c0017d4b
......@@ -27,7 +27,7 @@ __epm_removerepo_alt_grepremove()
if [ "$1" = "all" ] || rhas "$1" "^rpm" ; then
rl="$1"
else
rl="$( (quiet=1 epm repolist) 2>/dev/null | grep -E "$1")"
rl="$( (epm --quiet repolist) 2>/dev/null | grep -E "$1")"
[ -z "$rl" ] && warning "Can't find '$1' in the repos (see '# epm repolist' output)" && return 1
fi
echo "$rl" | while read rp ; do
......
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