fixes to installer
authorPaul Crowley <paul@lshift.net>
Mon, 16 Jun 2008 17:46:04 +0100
changeset 37 d35a30672369
parent 36 b3237aabd0fe
child 38 f1ee930c4ba8
fixes to installer
install
setup
src/init/hginit
--- a/install	Mon Jun 16 17:24:53 2008 +0100
+++ b/install	Mon Jun 16 17:46:04 2008 +0100
@@ -10,12 +10,13 @@
     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/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 \
--- a/setup	Mon Jun 16 17:24:53 2008 +0100
+++ b/setup	Mon Jun 16 17:46:04 2008 +0100
@@ -6,4 +6,4 @@
 
 adduser --system --shell /bin/sh --group --disabled-password \
    --gecos "Mercurial repositories" hg
-su -c ./hginit hg
+su -c /usr/local/lib/mercurial-server/init/hginit hg
--- a/src/init/hginit	Mon Jun 16 17:24:53 2008 +0100
+++ b/src/init/hginit	Mon Jun 16 17:46:04 2008 +0100
@@ -6,5 +6,5 @@
 mkdir -p repos/hgadmin .ssh
 cd repos/hgadmin
 hg init .
-cp /usr/local/lib/mercurial-server/hgadmin-hgrc .hg/hgrc
+cp /usr/local/lib/mercurial-server/init/hgadmin-hgrc .hg/hgrc