[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.
pull/45/head
Yenthe V.G 9 years ago committed by GitHub
parent ccaca3e5df
commit 9a3f129688

@ -122,11 +122,11 @@ if [ $IS_ENTERPRISE = "True" ]; then
sudo apt-get install nodejs npm sudo apt-get install nodejs npm
sudo npm install -g less sudo npm install -g less
sudo npm install -g less-plugin-clean-css sudo npm install -g less-plugin-clean-css
else fi
echo -e "\n---- Create custom module directory ----" 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"
sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons" sudo su $OE_USER -c "mkdir $OE_HOME/custom/addons"
fi
echo -e "\n---- Setting permissions on home folder ----" echo -e "\n---- Setting permissions on home folder ----"
sudo chown -R $OE_USER:$OE_USER $OE_HOME/* sudo chown -R $OE_USER:$OE_USER $OE_HOME/*

Loading…
Cancel
Save