equal
deleted
inserted
replaced
18 # the debian-policy package |
18 # the debian-policy package |
19 |
19 |
20 |
20 |
21 case "$1" in |
21 case "$1" in |
22 configure) |
22 configure) |
|
23 if ! getent passwd hg >/dev/null; then |
|
24 adduser --disabled-password --quiet --system \ |
|
25 --shell /bin/sh --group \ |
|
26 --home /var/lib/mercurial-server \ |
|
27 --gecos "Mercurial repositories" hg |
|
28 su -c "/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server" hg |
|
29 fi |
23 ;; |
30 ;; |
24 |
31 |
25 abort-upgrade|abort-remove|abort-deconfigure) |
32 abort-upgrade|abort-remove|abort-deconfigure) |
26 ;; |
33 ;; |
27 |
34 |