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
# for too old apt-get
# TODO: check apt-get version?
apt_can_install_files='1'
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 () # TODO: don't resolve fuzzy dependencies ()
# are there apt that don't support dpkg files to install? # are there apt that don't support dpkg files to install?
epm_install_names $(make_filepath $files) epm_install_names $(make_filepath $files)
return 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