Commit f5a667b1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: disable checking for globbing symbol ? in URL

parent 53015ab0
......@@ -529,8 +529,9 @@ else
MASK=$(basename "$1")
fi
if echo "$URL" | grep -q "[*?]" ; then
fatal "Error: there are globbing symbols (*?) in $URL. It is allowed only for mask part"
# https://www.freeoffice.com/download.php?filename=freeoffice-2021-1062.x86_64.rpm
if echo "$URL" | grep -q "[*]" ; then
fatal "Error: there are globbing symbol (*) in $URL. It is allowed only for mask part"
fi
is_url "$MASK" && fatal "eget supports only one URL as argument"
......
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