mirror of
https://github.com/aljazceru/gna.git
synced 2025-12-17 05:54:27 +01:00
check for awk, readme update
Signed-off-by: dzdidi <deniszalessky@gmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# Client
|
# Client
|
||||||
|
|
||||||
Requires [nak](https://github.com/fiatjaf/nak/tree/master)
|
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`
|
1. add `./gna` to you `$PATH`
|
||||||
2. run `gna` and follow instructions
|
2. run `gna` and follow instructions
|
||||||
|
|||||||
5
gna.sh
5
gna.sh
@@ -11,6 +11,11 @@ if ! [ -x "$(command -v jq)" ]; then
|
|||||||
echo 'Please install jq from https://stedolan.github.io/jq/download/'
|
echo 'Please install jq from https://stedolan.github.io/jq/download/'
|
||||||
fi
|
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
|
if ! [ -x "$(command -v pass)" ]; then
|
||||||
echo 'Error: pass is not installed.' >&2
|
echo 'Error: pass is not installed.' >&2
|
||||||
echo 'Please install pass from https://www.passwordstore.org/'
|
echo 'Please install pass from https://www.passwordstore.org/'
|
||||||
|
|||||||
Reference in New Issue
Block a user