summaryrefslogtreecommitdiff
path: root/notepadpp/build-orig-tarball.sh
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-16 16:52:07 +0000
committerB. Stack <bgstack15@gmail.com>2022-04-16 16:52:07 +0000
commit5d87f1a7d8940db8eee48d66f33d4ca1104df1c6 (patch)
tree3d79b42db75acb9d66e2496da384ed82d0f93f2e /notepadpp/build-orig-tarball.sh
parentMerge branch 'scite-bump' into 'master' (diff)
parentadd notepadnext dpkg (diff)
downloadstackrpms-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-xnotepadpp/build-orig-tarball.sh2
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}"
bgstack15