Readded chown before trying to pull everything.

This commit is contained in:
J 2015-08-14 18:34:41 -04:00
parent 5a6fc99dbe
commit 05b80dfafd

View file

@ -40,6 +40,7 @@ if (! -d /home ) then
/bin/ln -s /usr/home /home
endif
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 &"
# 6) Get & compile gogs
echo "Fetching gogs from Github"