Commit 3acb8acf authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: improve UserAgent line

parent 4890cbf7
......@@ -135,7 +135,7 @@ if [ "$1" = "-k" ] || [ "$1" = "--no-check-certificate" ] ; then
fi
if [ "$1" = "-U" ] || [ "$1" = "-A" ] || [ "$1" = "--user-agent" ] ; then
user_agent="Mozilla/5.0 (X11; Linux $arch)"
user_agent="Mozilla/5.0 (X11; Linux $arch) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
WGETUSERAGENT="-U '$user_agent'"
CURLUSERAGENT="-A '$user_agent'"
shift
......
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