Commit 5b65194f authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-download: __download_pkg_urls(): fix extra space in pkg_files list

parent a897670c
......@@ -80,7 +80,7 @@ __download_pkg_urls()
for i in *.* ; do
[ -s "$tmppkg/$i" ] || continue
chmod $verbose a+r "$tmppkg/$i"
pkg_files="$pkg_files $tmppkg/$i"
[ -n "$pkg_files" ] && pkg_files="$pkg_files $tmppkg/$i" || pkg_files="$tmppkg/$i"
to_remove_pkg_files="$to_remove_pkg_files $tmppkg/$i"
done
else
......
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