Bob Mottram 9 年 前
コミット
eb11257b77
コミット者のEメールアドレスに関連付けられたアカウントが存在しません
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone ファイルの表示

6347
     apt-get -y install golang libpam0g-dev
6347
     apt-get -y install golang libpam0g-dev
6348
     if ! grep -q "export GOPATH=/home/git/go" ~/.bashrc; then
6348
     if ! grep -q "export GOPATH=/home/git/go" ~/.bashrc; then
6349
         echo 'export GOPATH=/home/git/go' >> ~/.bashrc
6349
         echo 'export GOPATH=/home/git/go' >> ~/.bashrc
6350
+	fi
6351
+    if ! grep -q "systemctl set-environment GOPATH=/home/git/go" ~/.bashrc; then
6350
         echo 'systemctl set-environment GOPATH=/home/git/go' >> ~/.bashrc
6352
         echo 'systemctl set-environment GOPATH=/home/git/go' >> ~/.bashrc
6351
     fi
6353
     fi
6352
     if [ ! -d $GOPATH ]; then
6354
     if [ ! -d $GOPATH ]; then