Commit f1752609 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-addrepo: use sudocmd for apt-repo

parent 54b4fbb2
...@@ -84,19 +84,19 @@ __epm_addrepo_altlinux() ...@@ -84,19 +84,19 @@ __epm_addrepo_altlinux()
info "add Etersoft's addon repo" info "add Etersoft's addon repo"
assure_exists apt-repo assure_exists apt-repo
__epm_addrepo_etersoft_addon __epm_addrepo_etersoft_addon
a='' apt-repo add $branch sudocmd apt-repo add $branch
epm repofix etersoft epm repofix etersoft
return 0 return 0
;; ;;
basealt|altlinux) basealt|altlinux)
# TODO: setrepo? # TODO: setrepo?
assure_exists apt-repo assure_exists apt-repo
a='' apt-repo add $branch sudocmd apt-repo add $branch
return 0 return 0
;; ;;
yandex) yandex)
assure_exists apt-repo assure_exists apt-repo
a='' apt-repo add $branch sudocmd apt-repo add $branch
epm repofix yandex epm repofix yandex
return 0 return 0
;; ;;
......
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