install
changeset 44 cf851f3ddf16
parent 40 abbb822779da
child 47 ebcc230f21e4
equal deleted inserted replaced
43:0a7fc4652793 44:cf851f3ddf16
    20     src/init/conf/refresh-auth
    20     src/init/conf/refresh-auth
    21 install -o root -g root -t /etc/mercurial-server -m 644 \
    21 install -o root -g root -t /etc/mercurial-server -m 644 \
    22     src/init/conf/remote-hgrc \
    22     src/init/conf/remote-hgrc \
    23     src/init/conf/access.conf
    23     src/init/conf/access.conf
    24 install -o root -g root -d /etc/mercurial-server/keys/root
    24 install -o root -g root -d /etc/mercurial-server/keys/root
       
    25 install -o root -g root -d /etc/mercurial-server/keys/users
    25 
    26 
    26 if [ x$(getent passwd hg) == x ] ; then
    27 if [ x$(getent passwd hg) == x ] ; then
    27     adduser --system --shell /bin/sh --group --disabled-password \
    28     adduser --system --shell /bin/sh --group --disabled-password \
    28         --gecos "Mercurial repositories" hg
    29         --gecos "Mercurial repositories" hg
    29     su -c /usr/local/lib/mercurial-server/init/hginit hg
    30     su -c /usr/local/lib/mercurial-server/init/hginit hg