abolish that one last path release_0.6
authorPaul Crowley <paul@lshift.net>
Sun, 08 Mar 2009 15:44:47 +0000
changeset 96 975fb921c3f3
parent 95 4526e3fb0007
child 97 7953788881a4
child 98 cacc2cf27d18
abolish that one last path
install
src/init/hginit
--- a/install	Sun Mar 08 15:19:53 2009 +0000
+++ b/install	Sun Mar 08 15:44:47 2009 +0000
@@ -77,6 +77,7 @@
         subprocess.check_call(
             "adduser --system --shell /bin/sh --group --disabled-password".split() + 
             ["--gecos", "Mercurial repositories", "hg"])
-        subprocess.check_call([options.prefix + '/share/mercurial-server/init/hginit'],
+        subprocess.check_call([options.prefix + '/share/mercurial-server/init/hginit',
+            options.prefix + '/share/mercurial-server'],
             preexec_fn = becomeFunc('hg'))
 
--- a/src/init/hginit	Sun Mar 08 15:19:53 2009 +0000
+++ b/src/init/hginit	Sun Mar 08 15:44:47 2009 +0000
@@ -6,4 +6,4 @@
 mkdir -p repos/hgadmin .ssh
 cd repos/hgadmin
 hg init .
-cp /usr/local/share/mercurial-server/init/hgadmin-hgrc .hg/hgrc
+cp $1/init/hgadmin-hgrc .hg/hgrc