GOPATH
This commit is contained in:
parent
16ba339e48
commit
9107240519
|
@ -387,6 +387,13 @@ function mesh_install_ipfs_go {
|
||||||
cat <<EOF > ${rootdir}/root/install_ipfs_go.sh
|
cat <<EOF > ${rootdir}/root/install_ipfs_go.sh
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
export GOPATH=$GOPATH
|
||||||
|
|
||||||
|
if [ ${#GOPATH} -lt 1 ]; then
|
||||||
|
echo $'GOPATH was not set'
|
||||||
|
exit 62925
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -d /home/git ]; then
|
if [ ! -d /home/git ]; then
|
||||||
adduser --disabled-login --gecos 'Gogs' git
|
adduser --disabled-login --gecos 'Gogs' git
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue