install
author Paul Crowley <paul@lshift.net>
Thu, 19 Feb 2009 16:36:41 +0000
changeset 38 f1ee930c4ba8
parent 37 d35a30672369
child 39 f5055ce263c7
permissions -rwxr-xr-x
Add start of script for breaking in

#!/bin/sh

set -e

install -o root -g root -d /usr/local/lib/mercurial-server
install -o root -g root -t /usr/local/lib/mercurial-server \
    src/access.py \
    src/hg-ssh \
    src/refresh-auth \
    src/ruleset.py
install -o root -g root -d /usr/local/lib/mercurial-server/init
install -o root -g root -t /usr/local/lib/mercurial-server/init \
    src/init/hginit \
    src/init/hgadmin-hgrc
install -o root -g root -d /usr/local/lib/mercurial-server/init/break-in
install -o root -g root -t /usr/local/lib/mercurial-server/init/break-in \
    src/init/break-in/create-breakin-repository \
    src/init/break-in/ssh-replacement \
    src/init/break-in/as-if-by-ssh \
    src/init/break-in/break-in
install -o root -g root -d /etc/mercurial-server
install -o root -g root -t /etc/mercurial-server \
    src/init/conf/hg-ssh-wrapper \
    src/init/conf/remote-hgrc