Readded chown before trying to pull everything.
This commit is contained in:
parent
5a6fc99dbe
commit
05b80dfafd
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ if (! -d /home ) then
|
||||||
/bin/ln -s /usr/home /home
|
/bin/ln -s /usr/home /home
|
||||||
endif
|
endif
|
||||||
pw add user -n git -u 913 -d $GITHOME -s /bin/tcsh -c "Gogs - Go Git Service"
|
pw add user -n git -u 913 -d $GITHOME -s /bin/tcsh -c "Gogs - Go Git Service"
|
||||||
|
chown -R git:git $GITHOME
|
||||||
su - git -c "/usr/bin/ssh-keygen -b 2048 -N '' -f ~/.ssh/id_rsa -t rsa -q &"
|
su - git -c "/usr/bin/ssh-keygen -b 2048 -N '' -f ~/.ssh/id_rsa -t rsa -q &"
|
||||||
# 6) Get & compile gogs
|
# 6) Get & compile gogs
|
||||||
echo "Fetching gogs from Github"
|
echo "Fetching gogs from Github"
|
||||||
|
|
Reference in a new issue