Commit a193dea1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-download: download all packages by mask, not eget --latest only

parent 6003a82e
...@@ -71,14 +71,14 @@ __download_pkg_urls() ...@@ -71,14 +71,14 @@ __download_pkg_urls()
docmd chmod $verbose a+rX $tmppkg docmd chmod $verbose a+rX $tmppkg
showcmd cd $tmppkg showcmd cd $tmppkg
cd $tmppkg || fatal cd $tmppkg || fatal
if docmd eget --latest "$url" ; then if docmd eget "$url" ; then
local i local i
# use downloaded file for i in *.* ; do
i=$(echo *.*) [ -s "$tmppkg/$i" ] || continue
[ -s "$tmppkg/$i" ] || continue chmod $verbose a+r "$tmppkg/$i"
docmd chmod $verbose a+r "$tmppkg/$i" pkg_files="$pkg_files $tmppkg/$i"
pkg_files="$pkg_files $tmppkg/$i" to_remove_pkg_files="$to_remove_pkg_files $tmppkg/$i"
to_remove_pkg_files="$to_remove_pkg_files $tmppkg/$i" done
else else
warning "Failed to download $url, ignoring" warning "Failed to download $url, ignoring"
fi fi
......
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