Commit d4e6dd58 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: refactoring

parent 8d39aafe
......@@ -531,15 +531,18 @@ do
if ! rhas "$GETSOURCE" "ps?://" ; then
if [ "$SN" != "Source" ] && [ "$SN" != "Source0" ] ; then
info "No URL. Skipping $GETSOURCE downloading"
continue
else
# only for main source
warning "$SN $GETSOURCE has no URL"
continue
warning "$SN $GETSOURCE has no URL. Skipping... "
fi
continue
else
download_any_tarball "$GETSOURCE" "$FTB"
DOWNLOADSOME=1
fi
download_any_tarball "$GETSOURCE" "$FTB"
DOWNLOADSOME=1
# TODO: detect tar: @version@:. in rule
# TODO: fix download single packed file
#else
# download_to "$GETSOURCE" "$FTB"
......
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