Commit e8f4c390 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-addrepo: use internal __epm_addrepo_apt instead of apt-repo if possible

parent 0416c848
...@@ -345,8 +345,15 @@ __epm_addrepo_altlinux() ...@@ -345,8 +345,15 @@ __epm_addrepo_altlinux()
assure_exists $mh apt-https assure_exists $mh apt-https
fi fi
sudocmd apt-repo $dryrun add "$repo" # when add correct sources.list string
if echo "$repo" | grep "^rpm " ; then
__epm_addrepo_apt "$repo"
return
fi
# TODO: rewrite this fallback
assure_exists apt-repo
sudocmd apt-repo $dryrun add "$repo"
} }
......
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