[FIX] force update-python-modules in postinst because the debhelper one calls dpkg...
authorAntony Lesuisse <al@openerp.com>
Fri, 6 Jan 2012 00:24:59 +0000 (01:24 +0100)
committerAntony Lesuisse <al@openerp.com>
Fri, 6 Jan 2012 00:24:59 +0000 (01:24 +0100)
bzr revid: al@openerp.com-20120106002459-a4o9xa3m6d81maom

debian/openerp.postinst

index 181c683..8700a25 100644 (file)
@@ -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
         ;;
     *)
         ;;