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