Commit ca75fe0b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack/repack: download package in any case

parent 5a9007a8
......@@ -158,7 +158,10 @@ epm_pack()
pkg_urls="$tarname"
load_helper epm-download
cd $tmpdir || fatal
__handle_pkg_urls_to_install
__download_pkg_urls
pkg_urls=
[ -n "$pkg_files" ] || fatal "Can't download $tarname"
tarname="$(realpath "$pkg_files")"
elif [ -d "$tarname" ] ; then
......
......@@ -189,7 +189,8 @@ epm_repack()
# if possible, it will put pkg_urls into pkg_files and reconstruct pkg_filenames
if [ -n "$pkg_urls" ] ; then
load_helper epm-download
__handle_pkg_urls_to_install
__download_pkg_urls
pkg_urls=
fi
[ -n "$pkg_names" ] && warning "Can't find $pkg_names files"
......
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