Skip to content

Commit 5924872

Browse files
committed
Running with the -H parameter will remove the warning for The directory or its parent directory is not owned by the current user and the cache has been disabled.
1 parent 62ad723 commit 5924872

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

odoo_install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ sudo su - postgres -c "createuser -s $OE_USER" 2> /dev/null || true
7575
# Install Dependencies
7676
#--------------------------------------------------
7777
echo -e "\n--- Installing Python 3 + pip3 --"
78-
sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libpng12-0 gdebi -y
78+
sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libpng12-0 gdebi-core -y
7979

8080
echo -e "\n---- Install python packages/requirements ----"
81-
sudo pip3 install -r https://github.com/odoo/odoo/raw/${OE_VERSION}/requirements.txt
81+
sudo -H pip3 install -r https://github.com/odoo/odoo/raw/${OE_VERSION}/requirements.txt
8282

8383
echo -e "\n---- Installing nodeJS NPM and rtlcss for LTR support ----"
8484
sudo apt-get install nodejs npm -y
@@ -138,7 +138,7 @@ if [ $IS_ENTERPRISE = "True" ]; then
138138

139139
echo -e "\n---- Added Enterprise code under $OE_HOME/enterprise/addons ----"
140140
echo -e "\n---- Installing Enterprise specific libraries ----"
141-
sudo pip3 install num2words ofxparse dbfread ebaysdk firebase_admin pyOpenSSL
141+
sudo -H pip3 install num2words ofxparse dbfread ebaysdk firebase_admin pyOpenSSL
142142
sudo npm install -g less
143143
sudo npm install -g less-plugin-clean-css
144144
fi

0 commit comments

Comments
 (0)