summarylogtreecommitdiffstats
path: root/odoo.install
diff options
context:
space:
mode:
authorSebastiaan Lokhorst2018-04-04 16:38:43 +0200
committerSebastiaan Lokhorst2018-04-04 16:38:43 +0200
commitb8996412c3003cbee08ece0d486d3c9ab81f226f (patch)
treeab72f83d8aababe853563ad6a95d5afd51d41e10 /odoo.install
parent0c45c6bbcfc78373ab1de69041486fcd845bb5f0 (diff)
downloadaur-b8996412c3003cbee08ece0d486d3c9ab81f226f.tar.gz
Update to 11.0, move to Python 3
Diffstat (limited to 'odoo.install')
-rw-r--r--odoo.install11
1 files changed, 1 insertions, 10 deletions
diff --git a/odoo.install b/odoo.install
index 4ed8ccd1af5..7aa74107c43 100644
--- a/odoo.install
+++ b/odoo.install
@@ -1,4 +1,4 @@
-pre_install(){
+pre_install() {
if [ ! `grep odoo /etc/group` ]; then
groupadd odoo &>/dev/null;
fi
@@ -7,16 +7,9 @@ pre_install(){
post_install() {
systemctl --system daemon-reload
- echo "This package requires a functional PostgreSQL server. "
- echo "To use with a locally installed PostgreSQL:
- echo "-- Make sure PostgreSQL is correctly installed (see wiki), start it,"
- echo "-- create user with database creation rights for odoo in PostgreSQL"
- echo "-- e.g: # su - postgres -c \"createuser -dRSP <myodoouser>\""
- echo "-- then edit '/etc/odoo/odoo-server.conf' accordingly."
}
post_upgrade() {
- post_install
systemctl --system daemon-reload
}
@@ -25,5 +18,3 @@ post_remove() {
groupdel odoo &> /dev/null
systemctl --system daemon-reload
}
-
-# vim:set ts=2 sw=2 et: