File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ sudo apt-get install python-gevent -y
8686if [ $INSTALL_WKHTMLTOPDF = " True" ]; then
8787 echo -e " \n---- Install wkhtml and place shortcuts on correct place for ODOO 9 ----"
8888 # pick up correct one from x64 & x32 versions:
89- if (( 1 << 32 )) ; then
89+ if [ " ` getconf LONG_BIT ` " == " 64 " ] ; then
9090 _url=$WKHTMLTOX_X64
9191 else
9292 _url=$WKHTMLTOX_X32
@@ -115,8 +115,8 @@ echo -e "\n==== Installing ODOO Server ===="
115115sudo git clone --branch $OE_VERSION https://www.github.com/odoo/odoo $OE_HOME_EXT /
116116
117117echo -e " \n---- Create custom module directory ----"
118- mkdir -p $OE_HOME /custom/addons
119- chown $OE_USER : $OE_USER $OE_HOME /custom/addons
118+ sudo su $OE_USER -c " mkdir $OE_HOME /custom"
119+ sudo su $OE_USER -c " mkdir $OE_HOME /custom/addons"
120120
121121echo -e " \n---- Setting permissions on home folder ----"
122122sudo chown -R $OE_USER :$OE_USER $OE_HOME /*
You can’t perform that action at this time.
0 commit comments