Commit fe4cbbd7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-install: restore workaround for install deb packages without apt-get (for old Ubuntu)

parent e796c56d
...@@ -373,10 +373,20 @@ epm_install_files() ...@@ -373,10 +373,20 @@ epm_install_files()
return return
fi fi
# TODO: don't resolve fuzzy dependencies () # for too old apt-get
# are there apt that don't support dpkg files to install? # TODO: check apt-get version?
epm_install_names $(make_filepath $files) apt_can_install_files='1'
return if [ "$DISTRNAME" = "Ubuntu" ] ; then
[ "$DISTRVERSION" = "14.04" ] && apt_can_install_files=''
[ "$DISTRVERSION" = "12.04" ] && apt_can_install_files=''
fi
if [ -n "$apt_can_install_files" ] ; then
# TODO: don't resolve fuzzy dependencies ()
# are there apt that don't support dpkg files to install?
epm_install_names $(make_filepath $files)
return
fi
# old way: # old way:
......
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