Docker: ignore errors in the update_weboob.sh script;

This commit is contained in:
Benjamin Bouvier 2018-08-27 12:11:48 +02:00
parent 3aa8843142
commit bd00a5c076
2 changed files with 1 additions and 3 deletions

View File

@ -4,4 +4,3 @@ set -e
echo "Fetching new housing posts..." echo "Fetching new housing posts..."
cd /home/user/app cd /home/user/app
python -m flatisfy import -v --config /flatisfy/config.json python -m flatisfy import -v --config /flatisfy/config.json

View File

@ -3,5 +3,4 @@ set -e
echo "Updating Weboob..." echo "Updating Weboob..."
cd /home/user/weboob cd /home/user/weboob
git pull git pull && pip install --upgrade . || echo "Couldn't upgrade Weboob; maybe the server is unreachable?"
pip install --upgrade .