From 123e51f4d537b516729aef4f04dca944efdbea1b Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Mon, 6 Jun 2016 16:30:15 +0200 Subject: [REF] ir_qweb: less webasset: compress output instead of minifying it * Remove dependency on less-plugin-clean-css which distribution packages are broken on debian stretch and derivated. * Updated documentation. * Lessc provides a `--compress` argument that could solve this issue. According to the documentation at http://lesscss.org/usage/: "[...] Compress using less built-in compression. This does an okay job but does not utilise all the tricks of dedicated css compression[...]" However, using this argument works on lessc 2.5.3 but not on 1.4.2 (`--compress` arg is present but seems to be break some rules i haven't been able to put my finger on). * Finally, use the minification of the StylesheetAsset that takes care of removing the spaces, the comments and the sourcemap with regexes. fixes issue #9113 --- debian/control | 1 - 1 file changed, 1 deletion(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 19647396245..8964e6c52c3 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,6 @@ Depends: ${misc:Depends}, adduser, node-less, - node-clean-css, postgresql-client, python, python-dateutil, -- cgit v1.2.3 From efe37469e9d6741403829e9d64fd67a2d8bb2e66 Mon Sep 17 00:00:00 2001 From: Simon Lejeune Date: Fri, 10 Jun 2016 15:26:58 +0200 Subject: [FIX] packaging: debian: update-python-module is no more The command is not installed by default. It was available in the python-support library which we didn't depend on and now this library is no more in debian jessie/ubuntu xenial. fixes #11785 --- debian/postinst | 2 -- 1 file changed, 2 deletions(-) (limited to 'debian') diff --git a/debian/postinst b/debian/postinst index 5126df0cf79..5a33cc158df 100644 --- a/debian/postinst +++ b/debian/postinst @@ -24,8 +24,6 @@ case "${1}" in chmod 0750 $ODOO_LOG_DIR # Data dir chown $ODOO_USER:$ODOO_GROUP $ODOO_DATA_DIR - # update-python-modules NOW otherwise invoke-rc.d openerp start will fail - update-python-modules ;; *) ;; -- cgit v1.2.3