No need to sudo
This commit is contained in:
parent
2fd4094850
commit
6962a8273c
|
@ -6490,7 +6490,7 @@ function install_gogs {
|
||||||
go get -u github.com/gpmgo/gopm
|
go get -u github.com/gpmgo/gopm
|
||||||
|
|
||||||
# add a gogs user account
|
# add a gogs user account
|
||||||
sudo adduser --disabled-login --gecos 'Gogs' git
|
adduser --disabled-login --gecos 'Gogs' git
|
||||||
|
|
||||||
# clone the repo
|
# clone the repo
|
||||||
mkdir -p $GOPATH/src/github.com/gogits
|
mkdir -p $GOPATH/src/github.com/gogits
|
||||||
|
|
Loading…
Reference in New Issue