[FIX] odoo_install: auto install rtlcss for RTL support

Fixes https://github.com/Yenthe666/InstallScript/issues/153
Fixes https://github.com/Yenthe666/InstallScript/issues/158
pull/165/head
Yenthe V.G 7 years ago committed by GitHub
parent b9727fd787
commit 3f82153853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -68,6 +68,10 @@ sudo apt-get install git python3 python3-pip build-essential wget python3-dev py
echo -e "\n---- Install python packages/requirements ----" echo -e "\n---- Install python packages/requirements ----"
sudo pip3 install -r https://github.com/odoo/odoo/raw/${OE_VERSION}/requirements.txt sudo pip3 install -r https://github.com/odoo/odoo/raw/${OE_VERSION}/requirements.txt
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
sudo apt-get install nodejs npm
sudo npm install -g rtlcss
#-------------------------------------------------- #--------------------------------------------------
# Install Wkhtmltopdf if needed # Install Wkhtmltopdf if needed
#-------------------------------------------------- #--------------------------------------------------
@ -123,7 +127,6 @@ if [ $IS_ENTERPRISE = "True" ]; then
echo -e "\n---- Added Enterprise code under $OE_HOME/enterprise/addons ----" echo -e "\n---- Added Enterprise code under $OE_HOME/enterprise/addons ----"
echo -e "\n---- Installing Enterprise specific libraries ----" echo -e "\n---- Installing Enterprise specific libraries ----"
sudo pip3 install num2words ofxparse sudo pip3 install num2words ofxparse
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
fi fi

Loading…
Cancel
Save