Add depth 1 to installation

Add depth 1 to installation
pull/49/head
Yenthe 10 years ago
parent d4907d943a
commit d348ad8e2d

@ -89,7 +89,7 @@ sudo chown $OE_USER:$OE_USER /var/log/$OE_USER
# Install ODOO # Install ODOO
#-------------------------------------------------- #--------------------------------------------------
echo -e "\n==== Installing ODOO Server ====" echo -e "\n==== Installing ODOO Server ===="
sudo git clone --branch $OE_VERSION https://www.github.com/odoo/odoo $OE_HOME_EXT/ sudo git clone --depth 1 --branch $OE_VERSION https://www.github.com/odoo/odoo $OE_HOME_EXT/
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"

Loading…
Cancel
Save