equal
deleted
inserted
replaced
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 install -o root -g root -d /etc/mercurial-server/keys/users |
26 |
26 |
27 if [ x$(getent passwd hg) == x ] ; then |
27 if [ x$(getent passwd hg | wc -c) = x0 ] ; then |
28 adduser --system --shell /bin/sh --group --disabled-password \ |
28 adduser --system --shell /bin/sh --group --disabled-password \ |
29 --gecos "Mercurial repositories" hg |
29 --gecos "Mercurial repositories" hg |
30 su -c /usr/local/lib/mercurial-server/init/hginit hg |
30 su -c /usr/local/lib/mercurial-server/init/hginit hg |
31 fi |
31 fi |