install
changeset 40 abbb822779da
parent 39 f5055ce263c7
child 44 cf851f3ddf16
equal deleted inserted replaced
39:f5055ce263c7 40:abbb822779da
    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 
    25 
       
    26 if [ x$(getent passwd hg) == x ] ; then
       
    27     adduser --system --shell /bin/sh --group --disabled-password \
       
    28         --gecos "Mercurial repositories" hg
       
    29     su -c /usr/local/lib/mercurial-server/init/hginit hg
       
    30 fi