remove typo
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
f012426604
commit
07ed7e9786
1 changed files with 4 additions and 2 deletions
|
@ -30,6 +30,8 @@ powner="$1"; shift
|
||||||
export GIT_DIR="${basedir}/${repo}"
|
export GIT_DIR="${basedir}/${repo}"
|
||||||
|
|
||||||
git init
|
git init
|
||||||
|
|
||||||
|
# allow display via gitweb
|
||||||
touch "${GIT_DIR}/git-daemon-export-ok"
|
touch "${GIT_DIR}/git-daemon-export-ok"
|
||||||
cat << eof > "${GIT_DIR}/config"
|
cat << eof > "${GIT_DIR}/config"
|
||||||
[core]
|
[core]
|
||||||
|
@ -37,8 +39,8 @@ cat << eof > "${GIT_DIR}/config"
|
||||||
bare = true
|
bare = true
|
||||||
sharedRepository = group
|
sharedRepository = group
|
||||||
[gitweb]
|
[gitweb]
|
||||||
owner = "${powner:-Unknown stranger}"
|
owner = "${powner:-"sans"}"
|
||||||
eof
|
eof
|
||||||
|
|
||||||
chgrp sans -R "${GIT_DIR}"
|
chgrp sans -R "${GIT_DIR}"
|
||||||
chmod g+rw -R "${GIT_DIR}
|
chmod g+rw -R "${GIT_DIR}"
|
||||||
|
|
Loading…
Reference in a new issue