install
changeset 96 975fb921c3f3
parent 94 864e1a47234f
child 164 32131253c2f1
equal deleted inserted replaced
95:4526e3fb0007 96:975fb921c3f3
    75        pwd.getpwnam('hg')
    75        pwd.getpwnam('hg')
    76     except KeyError:
    76     except KeyError:
    77         subprocess.check_call(
    77         subprocess.check_call(
    78             "adduser --system --shell /bin/sh --group --disabled-password".split() + 
    78             "adduser --system --shell /bin/sh --group --disabled-password".split() + 
    79             ["--gecos", "Mercurial repositories", "hg"])
    79             ["--gecos", "Mercurial repositories", "hg"])
    80         subprocess.check_call([options.prefix + '/share/mercurial-server/init/hginit'],
    80         subprocess.check_call([options.prefix + '/share/mercurial-server/init/hginit',
       
    81             options.prefix + '/share/mercurial-server'],
    81             preexec_fn = becomeFunc('hg'))
    82             preexec_fn = becomeFunc('hg'))
    82 
    83