From 9a3f1296889247c41c174c0a2692e9b5ea2f8f69 Mon Sep 17 00:00:00 2001 From: "Yenthe V.G" Date: Fri, 5 May 2017 09:47:29 +0200 Subject: [PATCH] [IMP] Create custom addons directory on community version This was the behaviour in 9.0 but went lost in the 10.0 script. This commit fixes the issue, otherwise there is no custom directory. --- odoo_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/odoo_install.sh b/odoo_install.sh index 6bba2c0..375d204 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -122,12 +122,12 @@ if [ $IS_ENTERPRISE = "True" ]; then sudo apt-get install nodejs npm sudo npm install -g less sudo npm install -g less-plugin-clean-css -else - echo -e "\n---- Create custom module directory ----" - sudo su $OE_USER -c "mkdir $OE_HOME/custom" - sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons" fi +echo -e "\n---- Create custom module directory ----" +sudo su $OE_USER -c "mkdir $OE_HOME/custom" +sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons" + echo -e "\n---- Setting permissions on home folder ----" sudo chown -R $OE_USER:$OE_USER $OE_HOME/*