changeset 39 | f5055ce263c7 |
child 50 | 77d97aa18f29 |
38:f1ee930c4ba8 | 39:f5055ce263c7 |
---|---|
1 #!/bin/sh |
|
2 |
|
3 # This file should live in /etc/mercurial-server. |
|
4 # If your repository is laid out differently you may need to modify |
|
5 # this file. |
|
6 |
|
7 set -e |
|
8 |
|
9 if [ `whoami` != 'hg' ] ; then |
|
10 echo "Must be run as hg user" |
|
11 return -1 |
|
12 else |
|
13 /usr/local/lib/mercurial-server/do-refresh-auth \ |
|
14 ~hg/.ssh/authorized_keys \ |
|
15 /etc/mercurial-server/hg-ssh-wrapper \ |
|
16 /etc/mercurial-server/keys \ |
|
17 ~hg/repos/hgadmin/keys |
|
18 fi |