mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-02 11:14:20 +01:00
Make c-lightning's entrypoint.sh executable in installed dir
This commit is contained in:
6
dist/setup.sh
vendored
6
dist/setup.sh
vendored
@@ -479,6 +479,12 @@ install_docker() {
|
||||
copy_file $cyphernodeconf_filepath/lightning/c-lightning/config $LIGHTNING_DATAPATH/config 1 $SUDO_REQUIRED
|
||||
copy_file $cyphernodeconf_filepath/lightning/c-lightning/entrypoint.sh $LIGHTNING_DATAPATH/entrypoint.sh 1 $SUDO_REQUIRED
|
||||
|
||||
if [[ ! -x $LIGHTNING_DATAPATH/entrypoint.sh ]]; then
|
||||
step " [32mmake[0m entrypoint.sh executable"
|
||||
sudo_if_required chmod +x $LIGHTNING_DATAPATH/entrypoint.sh
|
||||
next
|
||||
fi
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user