use share not lib
authorPaul Crowley <paul@lshift.net>
Sun, 08 Mar 2009 15:15:28 +0000
changeset 92 647c3e61bc95
parent 91 69dd70e1d844
child 93 fc66737db3f0
use share not lib
install
--- a/install	Sun Mar 08 15:13:02 2009 +0000
+++ b/install	Sun Mar 08 15:15:28 2009 +0000
@@ -35,13 +35,13 @@
     for f in sources:
         shutil.copy(f, d)
 
-installFiles(options.prefix + '/lib/mercurial-server',
+installFiles(options.prefix + '/share/mercurial-server',
     'src/hg-ssh',
     'src/refresh-auth')
-installFiles(options.prefix + '/lib/mercurial-server',
+installFiles(options.prefix + '/share/mercurial-server',
     'src/hg-ssh',
     'src/refresh-auth')
-installFiles(options.prefix + '/lib/mercurial-server/mercurialserver',
+installFiles(options.prefix + '/share/mercurial-server/mercurialserver',
     'src/mercurialserver/__init__.py',
     'src/mercurialserver/paths.py',
     'src/mercurialserver/changes.py',
@@ -49,7 +49,7 @@
     'src/mercurialserver/servelog.py',
     'src/mercurialserver/refreshauth.py',
     'src/mercurialserver/ruleset.py')
-installFiles(options.prefix + '/lib/mercurial-server/init',
+installFiles(options.prefix + '/share/mercurial-server/init',
     'src/init/hginit',
     'src/init/hgadmin-hgrc')
 installFiles('/etc/mercurial-server',
@@ -74,6 +74,6 @@
         subprocess.check_call(
             "adduser --system --shell /bin/sh --group --disabled-password".split() + 
             ["--gecos", "Mercurial repositories", "hg"])
-        subprocess.check_call([options.prefix + '/lib/mercurial-server/init/hginit'],
+        subprocess.check_call([options.prefix + '/share/mercurial-server/init/hginit'],
             preexec_fn = becomeFunc('hg'))