From cf08903d122279de5814b99f561ea701430be277 Mon Sep 17 00:00:00 2001 From: "John L. Jegutanis" Date: Wed, 5 Apr 2017 15:31:38 +0300 Subject: [PATCH] Fix shebang for contrib scripts --- contrib/daemontools/run | 2 +- contrib/python3.6/python-3.6.sh | 6 ++++-- contrib/raspberrypi3/install_electrumx.sh | 1 + contrib/raspberrypi3/run_electrumx.sh | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/contrib/daemontools/run b/contrib/daemontools/run index 5bafc69..ccb9d3c 100644 --- a/contrib/daemontools/run +++ b/contrib/daemontools/run @@ -1,3 +1,3 @@ -j#!/bin/sh +#!/bin/sh echo "Launching ElectrumX server..." exec 2>&1 envdir ./env /bin/sh -c 'envuidgid $USERNAME python3 $ELECTRUMX' diff --git a/contrib/python3.6/python-3.6.sh b/contrib/python3.6/python-3.6.sh index d83839d..9472ce7 100644 --- a/contrib/python3.6/python-3.6.sh +++ b/contrib/python3.6/python-3.6.sh @@ -1,5 +1,7 @@ -Installation of Python 3.6 --------------------------- +#!/bin/sh +########################### +#Installation of Python 3.6 +########################### sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update && sudo apt-get install python3.6 python3.6-dev diff --git a/contrib/raspberrypi3/install_electrumx.sh b/contrib/raspberrypi3/install_electrumx.sh index db64146..5643784 100644 --- a/contrib/raspberrypi3/install_electrumx.sh +++ b/contrib/raspberrypi3/install_electrumx.sh @@ -1,3 +1,4 @@ +#!/bin/sh ################### # install electrumx ################### diff --git a/contrib/raspberrypi3/run_electrumx.sh b/contrib/raspberrypi3/run_electrumx.sh index e3d633f..7b4ade4 100644 --- a/contrib/raspberrypi3/run_electrumx.sh +++ b/contrib/raspberrypi3/run_electrumx.sh @@ -1,3 +1,4 @@ +#!/bin/sh ############### # run_electrumx ###############