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/*