parent
af1f7909b2
commit
b6c5ab4bbf
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
OE_USER="odoo"
|
||||||
|
OE_HOME="/$OE_USER"
|
||||||
|
OE_HOME_EXT="/$OE_USER/$OE_USER-server"
|
||||||
|
cd HOME_EXT
|
||||||
|
username="$(git config --global user.name)"
|
||||||
|
email="$(git config --global user.email)"
|
||||||
|
if [[ ${#username} -gt 0 || ${#email} -gt 0 ]]
|
||||||
|
then
|
||||||
|
echo "We can do a git pull - git user configged."
|
||||||
|
#git pull origin master
|
||||||
|
else
|
||||||
|
echo "We can not update the Odoo code base - no git user configged"
|
||||||
|
fi
|
||||||
|
echo "------Finished the script------"
|
||||||
Loading…
Reference in new issue