diff --git a/ucoin.sh b/ucoin.sh index 59f3d43700c2b4e47283d39a9e8650fc5e6c1295..52d5faf7cf7a8c818d7b4d6e9271f8f14560d7e7 100755 --- a/ucoin.sh +++ b/ucoin.sh @@ -6,7 +6,7 @@ # Wraps bin/ucoind.js that is called with Node.js # -ucoind() { +duniter() { local NODE local LOGS_FILE @@ -26,8 +26,8 @@ ucoind() { VERSION=`$NODE -v` - if [[ $VERSION != v4* ]]; then - echo "$NODE v4+ is required"; + if [[ $VERSION != v5* ]]; then + echo "$NODE v5 is required"; else case "$1" in @@ -59,5 +59,5 @@ ucoind() { # If the script was launched with parameters, try to launch the uCoin command if [ ! -z $1 ]; then - ucoind $* + duniter $* fi