Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
701c7017
Commit
701c7017
authored
Aug 29, 2016
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh] duniter.sh: node version, rm ucoin relics
- Duniter works with Nodejs v4 and v5, but not with v6. - remove ucoin relics
parent
903a70d7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
duniter.sh
+5
-5
5 additions, 5 deletions
duniter.sh
with
5 additions
and
5 deletions
duniter.sh
+
5
−
5
View file @
701c7017
#!/bin/bash
#!/bin/bash
##########################
##########################
#
UCOIN
EXECUTABLE
#
DUNITER
EXECUTABLE
#
#
# Wraps bin/duniter.js that is called with Node.js
# Wraps bin/duniter.js that is called with Node.js
#
#
...
@@ -35,14 +35,14 @@ duniter() {
...
@@ -35,14 +35,14 @@ duniter() {
VERSION
=
`
$NODE
-v
`
VERSION
=
`
$NODE
-v
`
if
[[
$VERSION
!=
v5
*
&&
$VERSION
!=
v
6
*
]]
;
then
if
[[
$VERSION
!=
v5
*
&&
$VERSION
!=
v
4
*
]]
;
then
echo
"
$NODE
v5 or v
6
is required"
;
echo
"
$NODE
v5 or v
4
is required"
;
else
else
case
"
$1
"
in
case
"
$1
"
in
#---------------------------------
#---------------------------------
#
UCOIN
DAEMON MANAGEMENT
#
DUNITER
DAEMON MANAGEMENT
#---------------------------------
#---------------------------------
webwait|webstart|webstop|webrestart|start|stop|restart
)
webwait|webstart|webstop|webrestart|start|stop|restart
)
...
@@ -59,7 +59,7 @@ duniter() {
...
@@ -59,7 +59,7 @@ duniter() {
;;
;;
#---------------------------------
#---------------------------------
#
UCOIN
CLI COMMANDS
#
DUNITER
CLI COMMANDS
#---------------------------------
#---------------------------------
*
)
*
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment