ipfs: expand home directory path in service script
This commit is contained in:
parent
a2d0d0d79b
commit
ebcf556e6e
@ -3,11 +3,12 @@ TERMUX_PKG_DESCRIPTION="A peer-to-peer hypermedia distribution protocol"
|
|||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
||||||
TERMUX_PKG_VERSION=0.10.0
|
TERMUX_PKG_VERSION=0.10.0
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://github.com/ipfs/go-ipfs/releases/download/v${TERMUX_PKG_VERSION}/go-ipfs-source.tar.gz
|
TERMUX_PKG_SRCURL=https://github.com/ipfs/go-ipfs/releases/download/v${TERMUX_PKG_VERSION}/go-ipfs-source.tar.gz
|
||||||
TERMUX_PKG_SHA256=a247c8c4da05a09671d560967bfe8d71887053e6733b29f4d60f011ad5cedd44
|
TERMUX_PKG_SHA256=a247c8c4da05a09671d560967bfe8d71887053e6733b29f4d60f011ad5cedd44
|
||||||
TERMUX_PKG_AUTO_UPDATE=true
|
TERMUX_PKG_AUTO_UPDATE=true
|
||||||
TERMUX_PKG_SUGGESTS="termux-services"
|
TERMUX_PKG_SUGGESTS="termux-services"
|
||||||
TERMUX_PKG_SERVICE_SCRIPT=("ipfs" '[ ! -d "${HOME}/.ipfs" ] && ipfs init --empty-repo 2>&1 && ipfs config --json Swarm.EnableRelayHop false 2>&1 && ipfs config --json Swarm.EnableAutoRelay true 2>&1; exec ipfs daemon --enable-namesys-pubsub 2>&1')
|
TERMUX_PKG_SERVICE_SCRIPT=("ipfs" "[ ! -d \"${TERMUX_ANDROID_HOME}/.ipfs\" ] && ipfs init --empty-repo 2>&1 && ipfs config --json Swarm.EnableRelayHop false 2>&1 && ipfs config --json Swarm.EnableAutoRelay true 2>&1; exec ipfs daemon --enable-namesys-pubsub 2>&1")
|
||||||
|
|
||||||
termux_step_make() {
|
termux_step_make() {
|
||||||
termux_setup_golang
|
termux_setup_golang
|
||||||
|
Loading…
x
Reference in New Issue
Block a user