install
author Paul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:46:04 +0100
changeset 37 d35a30672369
parent 36 b3237aabd0fe
child 39 f5055ce263c7
permissions -rwxr-xr-x
fixes to installer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     1
#!/bin/sh
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     2
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     3
set -e
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
     4
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
     5
install -o root -g root -d /usr/local/lib/mercurial-server
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
     6
install -o root -g root -t /usr/local/lib/mercurial-server \
33
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
     7
    src/access.py \
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
     8
    src/hg-ssh \
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
     9
    src/refresh-auth \
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
    10
    src/ruleset.py
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
    11
install -o root -g root -d /usr/local/lib/mercurial-server/init
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
    12
install -o root -g root -t /usr/local/lib/mercurial-server/init \
37
d35a30672369 fixes to installer
Paul Crowley <paul@lshift.net>
parents: 36
diff changeset
    13
    src/init/hginit \
33
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
    14
    src/init/hgadmin-hgrc
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
    15
install -o root -g root -d /usr/local/lib/mercurial-server/init/break-in
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
    16
install -o root -g root -t /usr/local/lib/mercurial-server/init/break-in \
33
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
    17
    src/init/break-in/create-breakin-repository \
37
d35a30672369 fixes to installer
Paul Crowley <paul@lshift.net>
parents: 36
diff changeset
    18
    src/init/break-in/ssh-replacement \
d35a30672369 fixes to installer
Paul Crowley <paul@lshift.net>
parents: 36
diff changeset
    19
    src/init/break-in/as-if-by-ssh \
33
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
    20
    src/init/break-in/break-in
36
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
    21
install -o root -g root -d /etc/mercurial-server
b3237aabd0fe Change the name to mercurial-server
Paul Crowley <paul@lshift.net>
parents: 33
diff changeset
    22
install -o root -g root -t /etc/mercurial-server \
33
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
    23
    src/init/conf/hg-ssh-wrapper \
18e93dbdaf12 moved stuff into subdirectories
Paul Crowley <paul@lshift.net>
parents: 32
diff changeset
    24
    src/init/conf/remote-hgrc
27
ec31ba248edd Installer to set things up automatically
Paul Crowley <paul@ciphergoth.org>
parents:
diff changeset
    25