Commit 78bbdcb2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-install: with --nodeps do not fallback on apt-get during install from file

parent 6269bc4e
......@@ -136,8 +136,10 @@ epm_install_files()
[ -z "$1" ] && return
case $PMTYPE in
apt-rpm|urpm-rpm)
apt-rpm)
sudocmd rpm -Uvh $force $nodeps $@ && return
# if run with --nodeps, do not fallback on hi level
[ -n "$nodeps" ] && return
# use install_names
;;
apt-dpkg)
......@@ -148,6 +150,10 @@ epm_install_files()
sudocmd rpm -Uvh $force $@ && return
sudocmd yum --nogpgcheck install $@
return ;;
urpm-rpm)
sudocmd rpm -Uvh $force $nodeps $@ && return
# use install_names
;;
pkg_add)
sudocmd pkg_add $@
return ;;
......
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