diff options
Diffstat (limited to 'notepadpp/build-orig-tarball.sh')
-rwxr-xr-x | notepadpp/build-orig-tarball.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notepadpp/build-orig-tarball.sh b/notepadpp/build-orig-tarball.sh index 8b6d8ef..1881e8b 100755 --- a/notepadpp/build-orig-tarball.sh +++ b/notepadpp/build-orig-tarball.sh @@ -36,7 +36,7 @@ to_filename() { which jq 1>/dev/null 2>&1 || { echo "Please install jq! Aborted." ; exit 1; } ## 1. learn latest version -latest_version="$( curl -s "https://notepad-plus-plus.org/downloads/" | grep -oiE "Current Version [0-9\.]+" | grep -oE "[0-9\.a-zA-Z]+$" )" +latest_version="$( curl --user-agent 'Mozilla (X11)' -s "https://notepad-plus-plus.org/downloads/" | grep -oiE "Current Version [0-9\.]+" | grep -oE "[0-9\.a-zA-Z]+$" )" ferror "USING VERSION ${latest_version}" |