Skip to content

Commit 9a3f129

Browse files
authored
[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.
1 parent ccaca3e commit 9a3f129

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

odoo_install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ if [ $IS_ENTERPRISE = "True" ]; then
122122
sudo apt-get install nodejs npm
123123
sudo npm install -g less
124124
sudo npm install -g less-plugin-clean-css
125-
else
126-
echo -e "\n---- Create custom module directory ----"
127-
sudo su $OE_USER -c "mkdir $OE_HOME/custom"
128-
sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons"
129125
fi
130126

127+
echo -e "\n---- Create custom module directory ----"
128+
sudo su $OE_USER -c "mkdir $OE_HOME/custom"
129+
sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons"
130+
131131
echo -e "\n---- Setting permissions on home folder ----"
132132
sudo chown -R $OE_USER:$OE_USER $OE_HOME/*
133133

0 commit comments

Comments
 (0)