Bob Mottram il y a 9 ans
Parent
révision
eb11257b77
Aucun compte lié à l'adresse email de l'auteur
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2
    0
      src/freedombone

+ 2
- 0
src/freedombone Voir le fichier

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