Commit 12b207b0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm removerepo: fix autoimports removing

parent 7570a211
...@@ -92,7 +92,7 @@ __epm_removerepo_alt() ...@@ -92,7 +92,7 @@ __epm_removerepo_alt()
autoimports) autoimports)
info "removing autoimports repo" info "removing autoimports repo"
[ -n "$DISTRVERSION" ] || fatal "Empty DISTRVERSION" [ -n "$DISTRVERSION" ] || fatal "Empty DISTRVERSION"
repo="autoimports.$branch" repo="autoimports/$DISTRVERSION"
__epm_removerepo_alt_grepremove "$repo/" __epm_removerepo_alt_grepremove "$repo/"
;; ;;
archive) archive)
...@@ -127,6 +127,7 @@ __epm_removerepo_alt() ...@@ -127,6 +127,7 @@ __epm_removerepo_alt()
__epm_removerepo_apt "$*" __epm_removerepo_apt "$*"
else else
info "removing with grep by '$*'" info "removing with grep by '$*'"
# TODO: switch to $@ and use epm repo remove instead of __epm_removerepo_alt_grepremove
__epm_removerepo_alt_grepremove "$*" __epm_removerepo_alt_grepremove "$*"
fi fi
;; ;;
......
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