Commit 3821980a authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm addrepo: install apt-https if add https:// repo

parent bf2b397c
......@@ -301,10 +301,14 @@ __epm_addrepo_altlinux()
;;
esac
# don't add again
epm repo list --quiet | grep -q -F "$repo" && return 0
if echo "$repo" | grep -q "https://" ; then
local mh="$(echo /usr/lib*/apt/methods/https)"
assure_exists $mh apt-https
fi
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