Commit Graph
8 Commits
Author SHA1 Message Date
Christophe Monniez a5d878ab9b [FIX] packaging: fix installing deb package when user exists
When a odoo user already exists, the installation of the deb package
fails because the `/var/lib/odoo` directory does not exists.

The reason is that the postinst script is trying to change the
permissions of this directory which is only created if a odoo user does
not already exists.

With this commit, the permission changes only occurs when the directory
is created.

closes odoo/odoo#111877

X-original-commit: 8e1ebd8de01bc9d97e47572bc8b1d2eaafebf743
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2023-02-03 16:32:46 +01:00
Simon Lejeune c59eb4ffc1 [REF] packaging: renamed configuration files
no fallbacks were implemented to `openerp-server.conf`.
2016-09-30 12:05:49 +02:00
Simon Lejeune efe37469e9 [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
2016-06-10 17:22:03 +02:00
Aaron Bohy b6b73551db [IMP] Packaging: Debian, RedHat: No more superuser for odoo role
only create db
2014-12-15 10:41:10 +01:00
Simon Lejeune b8f1ed147e [FIX] packaging: debian: set /var/lib/odoo as odoo user home dir 2014-10-30 15:50:45 +01:00
Christophe Simonis 80a932479b FIX] packaging: odoo-ification 2014-09-04 16:27:58 +02:00
Simon Lejeune f668f9c6cd [FIX] Debian: updated informations and dependencies, refactored debhelpers scripts to allow easy name change, simplified debhelper rules 2014-09-02 14:13:01 +02:00
Simon Lejeune 2cf4051a15 [REF] Debian: renamed debhelpers scripts to not contain openerp in their filenames anymore, removed run_all_with_tests.sh script 2014-09-02 14:13:00 +02:00