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