equal
deleted
inserted
replaced
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 |