diff --git a/docker/fetch.sh b/docker/fetch.sh index 7ab7376..8c77075 100644 --- a/docker/fetch.sh +++ b/docker/fetch.sh @@ -4,4 +4,3 @@ set -e echo "Fetching new housing posts..." cd /home/user/app python -m flatisfy import -v --config /flatisfy/config.json - diff --git a/docker/update_weboob.sh b/docker/update_weboob.sh index 112e32b..d23252f 100644 --- a/docker/update_weboob.sh +++ b/docker/update_weboob.sh @@ -3,5 +3,4 @@ set -e echo "Updating Weboob..." cd /home/user/weboob -git pull -pip install --upgrade . +git pull && pip install --upgrade . || echo "Couldn't upgrade Weboob; maybe the server is unreachable?"