debian/postinst
branchdebian
changeset 291 32dba1a70a54
parent 224 caf9cb61f856
child 314 c02eae7665af
--- 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
     ;;