Bob Mottram 8 년 전
부모
커밋
9107240519
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7
    0
      src/freedombone-app-ipfs

+ 7
- 0
src/freedombone-app-ipfs 파일 보기

@@ -387,6 +387,13 @@ function mesh_install_ipfs_go {
387 387
     cat <<EOF > ${rootdir}/root/install_ipfs_go.sh
388 388
 #!/bin/bash
389 389
 
390
+export GOPATH=$GOPATH
391
+
392
+if [ ${#GOPATH} -lt 1 ]; then
393
+    echo $'GOPATH was not set'
394
+    exit 62925
395
+fi
396
+
390 397
 if [ ! -d /home/git ]; then
391 398
     adduser --disabled-login --gecos 'Gogs' git
392 399