Commit d4e6dd58 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmgs: refactoring

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