From d7e47a0ff04bc6c9ad2a3b02ba1aa494843bc652 Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Wed, 13 Feb 2019 21:16:29 +0100 Subject: [PATCH] Check if configfile needs to be updated --- deploy.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy.sh b/deploy.sh index bcb9630..d3fa4fb 100644 --- a/deploy.sh +++ b/deploy.sh @@ -11,6 +11,11 @@ fi echo "Pulling from remote." git pull +if [[ config.py.example -nt config.py ]]; then + echo "Example config file is newer than the current config file. Plsfix." + exit 1 +fi + echo "Updating dependencies." ~/env/bin/pip install requirements.txt