Commit 18e9c9c0 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm install: transform package_manager:package_name to EPM_BACKEND value

parent 7d6ad3d6
......@@ -509,11 +509,25 @@ epm_install()
case "$BASEDISTRNAME" in
"alt")
load_helper epm-install-alt
epm_install_alt_names $names || return
if echo "$@" | grep -q ":" ; then
for arg in "$@"; do
set_backend "$arg"
epm_install_alt_names "$arg"
done
else
epm_install_alt_names $names
fi
;;
*)
# FIXME: see to_remove below
epm_install_names $names || return
if echo "$@" | grep -q ":" ; then
for arg in "$@"; do
set_backend "$arg"
epm_install_names "$arg"
done
else
epm_install_names $names
fi
;;
esac
......
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