install
changeset 31 d54720d47ca2
parent 27 ec31ba248edd
child 32 4059dbe9f26a
--- a/install	Fri May 02 18:03:42 2008 +0100
+++ b/install	Wed May 28 18:14:15 2008 +0100
@@ -2,13 +2,13 @@
 
 set -e
 
-ssh-add -L > first-adminkey
-
-if [ \! -s first-adminkey ] ; then
-    echo "No key defined in ssh agent; exiting"
-    exit -1
-fi
+install -o root -g root -d /usr/local/lib/hg-admin-tools
+install -o root -g root -t /usr/local/lib/hg-admin-tools \
+    access.py hg-ssh refresh-auth ruleset.py hgadmin-hgrc break-in
+install -o root -g root -d /etc/hg-admin-tools
+install -o root -g root -t /etc/hg-admin-tools hg-ssh-wrapper remote-hgrc
 
 sudo adduser --system --shell /bin/sh --group --disabled-password \
    --gecos "Mercurial repositories" hg
 sudo -u hg -H ./hginit
+