diff options
author | B. Stack <bgstack15@gmail.com> | 2022-04-16 16:52:07 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-04-16 16:52:07 +0000 |
commit | 5d87f1a7d8940db8eee48d66f33d4ca1104df1c6 (patch) | |
tree | 3d79b42db75acb9d66e2496da384ed82d0f93f2e /notepadpp/build-orig-tarball.sh | |
parent | Merge branch 'scite-bump' into 'master' (diff) | |
parent | add notepadnext dpkg (diff) | |
download | stackrpms-5d87f1a7d8940db8eee48d66f33d4ca1104df1c6.tar.gz stackrpms-5d87f1a7d8940db8eee48d66f33d4ca1104df1c6.tar.bz2 stackrpms-5d87f1a7d8940db8eee48d66f33d4ca1104df1c6.zip |
Merge branch 'notepadnext-bump' into 'master'
Notepadnext bump
See merge request bgstack15/stackrpms!295
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}" |