From 84149953de6ba58469374cf994c9fe29498c27d0 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Fri, 6 Jan 2012 01:24:59 +0100 Subject: [PATCH] [FIX] force update-python-modules in postinst because the debhelper one calls dpkg-trigger bzr revid: al@openerp.com-20120106002459-a4o9xa3m6d81maom --- debian/openerp.postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/openerp.postinst b/debian/openerp.postinst index 181c683462d..8700a259198 100644 --- a/debian/openerp.postinst +++ b/debian/openerp.postinst @@ -18,6 +18,8 @@ case "${1}" in # Creating local storage directory mkdir -p /var/lib/openerp/filestore chown openerp:openerp -R /var/lib/openerp + # update-python-modules NOW otherwise invoke-rc.d openerp start will fail + update-python-modules -p openerp.public ;; *) ;;