equal
deleted
inserted
replaced
11 if ! getent passwd hg >/dev/null; then |
11 if ! getent passwd hg >/dev/null; then |
12 adduser --disabled-password --quiet --system \ |
12 adduser --disabled-password --quiet --system \ |
13 --shell /bin/sh --group \ |
13 --shell /bin/sh --group \ |
14 --home /var/lib/mercurial-server \ |
14 --home /var/lib/mercurial-server \ |
15 --gecos "Mercurial repositories" hg |
15 --gecos "Mercurial repositories" hg |
16 # Make sure Mercurial's modules will work when we come to use them |
|
17 update-python-modules -p |
|
18 su -c "/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server" hg |
16 su -c "/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server" hg |
19 fi |
17 fi |
20 ;; |
18 ;; |
21 |
19 |
22 abort-upgrade|abort-remove|abort-deconfigure) |
20 abort-upgrade|abort-remove|abort-deconfigure) |