Package: mercurial-server
Version: 1.2-1
Severity: minor

mercurial-server.postinst only calls /usr/share/mercurial-server/init/hginit
if the hg user doesn't already exist.  If the user exists but the
configuration in /var/lib/mercurial-server is not set up properly
(e.g. because the admin scrapped it and then reinstalled the package).
It would be nice if the condition was changed to e.g. if ! [ -e
/var/lib/mercurial-server/.mercurial-server ] or similar.

Cheers,
Julien

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial-server depends on:
ii  adduser              3.112+nmu2          add and remove users and groups
ii  debconf [debconf-2.0 1.5.36.1            Debian configuration management sy
ii  mercurial            2.4-1~bpo60+1~lglb1 easy-to-use, scalable distributed 
ii  openssh-server [ssh- 1:5.5p1-6+squeeze2  secure shell (SSH) server, for sec
ii  python               2.6.6-3+squeeze7    interactive high-level object-orie
ii  python-support       1.0.10              automated rebuilding support for P

mercurial-server recommends no packages.

mercurial-server suggests no packages.

-- Configuration Files:
/etc/mercurial-server/access.conf changed [not included]
/etc/mercurial-server/remote-hgrc.d/access.rc changed [not included]
/etc/mercurial-server/remote-hgrc.d/logging.rc changed [not included]

-- debconf information:
  mercurial-server/purge_repositories: false

-- 
Julien Cristau          <julien.cris...@logilab.fr>
Logilab                 http://www.logilab.fr/
Informatique scientifique & gestion de connaissances


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to