Commit ac3f7577 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm install: disable optimize when install foreign packages

parent 9dc398de
...@@ -497,14 +497,8 @@ download_pkg_urls() ...@@ -497,14 +497,8 @@ download_pkg_urls()
done done
} }
__use_url_install()
__handle_pkg_urls()
{ {
[ -n "$pkg_urls" ] || return
# TODO: do it correcly
to_remove_pkg_files=
case $PMTYPE in case $PMTYPE in
apt-rpm) apt-rpm)
# ALT Linux really? # ALT Linux really?
...@@ -526,10 +520,23 @@ __handle_pkg_urls() ...@@ -526,10 +520,23 @@ __handle_pkg_urls()
# pkg_names="$pkg_names $pkg_urls" # pkg_names="$pkg_names $pkg_urls"
# ;; # ;;
*) *)
# use workaround with eget: download and put in pkg_files return 1
download_pkg_urls
;; ;;
esac esac
return 0
}
__handle_pkg_urls()
{
[ -n "$pkg_urls" ] || return
# TODO: do it correctly
to_remove_pkg_files=
if [ "$(get_package_type "$pkg")" != $PKGFORMAT ] || ! __use_url_install ; then
# use workaround with eget: download and put in pkg_files
download_pkg_urls
fi
pkg_urls= pkg_urls=
} }
......
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