We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4563a6d commit c524114Copy full SHA for c524114
1 file changed
development/odoo_install.sh
@@ -115,8 +115,8 @@ echo -e "\n==== Installing ODOO Server ===="
115
sudo git clone --branch $OE_VERSION https://www.github.com/odoo/odoo $OE_HOME_EXT/
116
117
echo -e "\n---- Create custom module directory ----"
118
-sudo su $OE_USER -c "mkdir $OE_HOME/custom"
119
-sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons"
+mkdir -p $OE_HOME/custom/addons
+chown $OE_USER:$OE_USER $OE_HOME/custom/addons
120
121
echo -e "\n---- Setting permissions on home folder ----"
122
sudo chown -R $OE_USER:$OE_USER $OE_HOME/*
0 commit comments