mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-21 03:54:30 +01:00
sparkwallet dir was not created
This commit is contained in:
4
dist/setup.sh
vendored
4
dist/setup.sh
vendored
@@ -110,7 +110,7 @@ sudo_if_required() {
|
||||
}
|
||||
|
||||
modify_permissions() {
|
||||
local directories=("installer" "gatekeeper" "lightning" "sparkwallet" "bitcoin" "docker-compose.yaml" "$BITCOIN_DATAPATH" "$LIGHTNING_DATAPATH" "$PROXY_DATAPATH" "$GATEKEEPER_DATAPATH" "$OTSCLIENT_DATAPATH")
|
||||
local directories=("installer" "gatekeeper" "lightning" "bitcoin" "docker-compose.yaml" "$BITCOIN_DATAPATH" "$LIGHTNING_DATAPATH" "$PROXY_DATAPATH" "$GATEKEEPER_DATAPATH" "$OTSCLIENT_DATAPATH")
|
||||
for d in "${directories[@]}"
|
||||
do
|
||||
if [[ -e $d ]]; then
|
||||
@@ -445,7 +445,7 @@ install_docker() {
|
||||
if [[ $archpath == "rpi" ]]; then
|
||||
dockerfile="Dockerfile-alpine"
|
||||
fi
|
||||
if [ ! -d $LIGHTNING_DATAPATH ]; then
|
||||
if [ ! -d $LIGHTNING_DATAPATH/sparkwallet ]; then
|
||||
step " [32mcreate[0m $LIGHTNING_DATAPATH"
|
||||
sudo_if_required mkdir -p $LIGHTNING_DATAPATH/sparkwallet
|
||||
next
|
||||
|
||||
@@ -10,7 +10,6 @@ RUN_AS_USER=<%= run_as_different_user?username:'' %>
|
||||
CLEANUP=<%= installer_cleanup?'true':'false' %>
|
||||
<% if ( features.indexOf('lightning') !== -1 && lightning_implementation === 'c-lightning' ) { %>
|
||||
LIGHTNING_DATAPATH=<%= lightning_datapath %>
|
||||
SPARKWALLET_DATAPATH=<%= lightning_datapath %>/sparkwallet
|
||||
<% } %>
|
||||
<% if ( features.indexOf('otsclient') !== -1 ) { %>
|
||||
OTSCLIENT_DATAPATH=<%= otsclient_datapath %>
|
||||
|
||||
Reference in New Issue
Block a user