diff --git a/Readme.md b/Readme.md index 1b2deb9..0877c7f 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,8 @@ # Client Requires [nak](https://github.com/fiatjaf/nak/tree/master) +Requires [jq](https://stedolan.github.io/jq/tree/master) +Requires [awk](https://www.gnu.org/software/gawk) 1. add `./gna` to you `$PATH` 2. run `gna` and follow instructions diff --git a/gna.sh b/gna.sh index 873c3ca..ad5e554 100755 --- a/gna.sh +++ b/gna.sh @@ -11,6 +11,11 @@ if ! [ -x "$(command -v jq)" ]; then echo 'Please install jq from https://stedolan.github.io/jq/download/' fi +if ! [ -x "$(command -v awk)" ]; then + echo 'Error: awk is not installed.' >&2 + echo 'Please install awk from https://www.gnu.org/software/gawk/' +fi + if ! [ -x "$(command -v pass)" ]; then echo 'Error: pass is not installed.' >&2 echo 'Please install pass from https://www.passwordstore.org/'