Commit 85b4f539 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add missed sudocmd

parent bbb97ccb
......@@ -105,7 +105,7 @@ case $PMTYPE in
if echo "$repo" | grep -q "https://" ; then
assure_exists apt-transport-https
fi
apt-add-repository "$repo"
sudocmd apt-add-repository "$repo"
info "Check file /etc/apt/sources.list if needed"
;;
aptitude-dpkg)
......
......@@ -65,7 +65,7 @@ esac;
case $PMTYPE in
apt-dpkg)
assure_exists apt-add-repository software-properties-common
apt-add-repository --remove "$repo"
sudocmd apt-add-repository --remove "$repo"
info "Check file /etc/apt/sources.list if needed"
;;
aptitude-dpkg)
......
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