# HG changeset patch # User Paul Crowley # Date 1292687323 0 # Node ID 32dba1a70a5443cf86a78b5a9471ad7ced034a12 # Parent 199952d928e03b8e81b9b1835f2b5aedd543a8f4 Fix bug 604213 diff -r 199952d928e0 -r 32dba1a70a54 debian/changelog --- a/debian/changelog Sat Dec 18 15:26:09 2010 +0000 +++ b/debian/changelog Sat Dec 18 15:48:43 2010 +0000 @@ -3,9 +3,11 @@ * New upstream version * Fix "leaves unowned files on purge": Delete user/group only when purging data (Closes: #605584) + * Fix "installation fails with aptitude": run update-python-modules + to ensure hg will work before using it (Closes: #604213) * Add translation for pt_BR (Closes: #607407) - -- Paul Crowley Sat, 18 Dec 2010 13:32:26 +0000 + -- Paul Crowley Sat, 18 Dec 2010 15:46:45 +0000 mercurial-server (1.0.1-1.1) unstable; urgency=medium diff -r 199952d928e0 -r 32dba1a70a54 debian/postinst --- a/debian/postinst Sat Dec 18 15:26:09 2010 +0000 +++ b/debian/postinst Sat Dec 18 15:48:43 2010 +0000 @@ -13,6 +13,8 @@ --shell /bin/sh --group \ --home /var/lib/mercurial-server \ --gecos "Mercurial repositories" hg + # Make sure Mercurial's modules will work when we come to use them + update-python-modules -p su -c "/usr/share/mercurial-server/init/hginit /usr/share/mercurial-server" hg fi ;;