Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 18 lines (12 sloc) 0.262 kB
10919a7 @fitzgen And all of it seems to work!
authored
1 #!/usr/bin/env bash
2
e41ee2f @fitzgen Messed up spelling * copy + paste = fail
authored
3 if [ `whoami` != "root" ]; then
172a3d6 @fitzgen Making check for root
authored
4 echo "This script must be run as root (or via sudo)."
5 exit 1
6 fi
7
10919a7 @fitzgen And all of it seems to work!
authored
8 hook=`pwd`/post-receive
9
10 cd ~git/
11
59b03f7 @fitzgen Changing the administration repository name from mini-meta to mini-me…
authored
12 mkdir mini-meta-admin.git
13 cd mini-meta-admin.git
10919a7 @fitzgen And all of it seems to work!
authored
14
15 git --bare init
16 cp $hook hooks/
17
18 chown -R git:git .
Something went wrong with that request. Please try again.