File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,7 @@ sudo git clone --depth 1 --branch $OE_VERSION https://www.github.com/odoo/odoo $
112112
113113if [ $IS_ENTERPRISE = " True" ]; then
114114 # Odoo Enterprise install!
115- echo -e " \n--- Create symlink for node"
116- sudo ln -s /usr/bin/nodejs /usr/bin/node
117- sudo su $OE_USER -c " mkdir $OE_HOME /enterprise"
115+ sudo su $OE_USER -c " mkdir $OE_HOME /enterprise"
118116 sudo su $OE_USER -c " mkdir $OE_HOME /enterprise/addons"
119117
120118 echo -e " \n---- Adding Enterprise code under $OE_HOME /enterprise/addons ----"
@@ -124,6 +122,9 @@ if [ $IS_ENTERPRISE = "True" ]; then
124122 sudo apt-get install nodejs npm
125123 sudo npm install -g less
126124 sudo npm install -g less-plugin-clean-css
125+
126+ echo -e " \n--- Create symlink for node"
127+ sudo ln -s /usr/bin/nodejs /usr/bin/node
127128else
128129 echo -e " \n---- Create custom module directory ----"
129130 sudo su $OE_USER -c " mkdir $OE_HOME /custom"
You can’t perform that action at this time.
0 commit comments