Skip to content

Correct for change in Odoo repository #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[FIX] use version name as directory
  so multiple parallel versions can be kept
 Changes to be committed:
	modified:   odoo-saas4/ubuntu-14-04/odoo_install.sh
  • Loading branch information
mhb-warehouseman committed Jun 5, 2014
commit 7607390e66588e65fba6976a6ff8b82642fd8e49
10 changes: 6 additions & 4 deletions odoo-saas4/ubuntu-14-04/odoo_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,16 @@ export -f update_apt
# . . . . . . .
function obtain_source()
{
pushd $OE_HOME_EXT
if [[ -f $OE_HOME_EXT/openerp-server ]]
then
echo "Pulling . . . "
echo "Pulling . . . $OE_HOME_EXT"
pushd $OE_HOME_EXT
git pull
else
echo "Cloning . . . "
pushd $OE_HOME
echo "Cloning . . . $OE_HOME_EXT $OE_HOME"
git clone --branch $OE_VERSION https://www.github.com/odoo/odoo
mv odoo $OE_VERSION
fi
popd
}
Expand Down Expand Up @@ -260,7 +262,7 @@ chown $OE_USER:$OE_USER /var/log/$OE_USER
# Install ODOO
#--------------------------------------------------
echo -e "\n==== Getting ODOO Source ===="
mkdir -p $OE_HOME_EXT
mkdir -p $OE_HOME
obtain_source

echo -e "\n---- Setting permissions on home folder ----"
Expand Down