install
changeset 165 3606d60b07e5
parent 164 32131253c2f1
--- a/install	Fri Oct 30 16:55:07 2009 +0000
+++ b/install	Mon Nov 09 12:15:09 2009 +0000
@@ -47,6 +47,7 @@
     'src/mercurialserver/ruleset.py')
 installFiles(options.prefix + '/share/mercurial-server/init',
     'src/init/hginit',
+    'src/init/dot-mercurial-server',
     'src/init/hgadmin-hgrc')
 installFiles(options.prefix + '/share/doc/mercurial-server',
     'README',
@@ -64,6 +65,7 @@
         os.setegid(p.pw_gid)
         os.setuid(p.pw_uid)
         os.seteuid(p.pw_uid)
+        os.chdir(p.pw_dir)
     return become
 
 if options.root == '':