summaryrefslogtreecommitdiff
path: root/notepadpp/build-orig-tarball.sh
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-01-27 09:12:37 -0500
committerB Stack <bgstack15@gmail.com>2020-01-27 09:22:29 -0500
commit9d4a547569e117dd0aaaf3a547965374c30eaf1d (patch)
tree1310842f53f0f835f76fb3246621a47ca9c173f0 /notepadpp/build-orig-tarball.sh
parentveracrypt 1.24-Update4 dpkg (diff)
downloadstackrpms-9d4a547569e117dd0aaaf3a547965374c30eaf1d.tar.gz
stackrpms-9d4a547569e117dd0aaaf3a547965374c30eaf1d.tar.bz2
stackrpms-9d4a547569e117dd0aaaf3a547965374c30eaf1d.zip
notepadpp 7.8.3
Diffstat (limited to 'notepadpp/build-orig-tarball.sh')
-rwxr-xr-xnotepadpp/build-orig-tarball.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/notepadpp/build-orig-tarball.sh b/notepadpp/build-orig-tarball.sh
index f5210f1..80b2260 100755
--- a/notepadpp/build-orig-tarball.sh
+++ b/notepadpp/build-orig-tarball.sh
@@ -32,6 +32,9 @@ to_filename() {
### Flow
+# check dependencies
+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]+$" )"
ferror "USING VERSION ${latest_version}"
bgstack15