From 2b73f39735f223fd831208d22af065d1d59752d4 Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Wed, 30 Mar 2016 19:17:21 +0200
Subject: [PATCH] Renaming "ucoind" command to "duniter"

---
 ucoin.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ucoin.sh b/ucoin.sh
index 59f3d4370..52d5faf7c 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
-- 
GitLab