Check if configfile needs to be updated

This commit is contained in:
Rien Maertens 2019-02-13 21:16:29 +01:00
parent 1fdc7889cf
commit d7e47a0ff0
No known key found for this signature in database
GPG key ID: 10C6D8C91DE58E4A

View file

@ -11,6 +11,11 @@ fi
echo "Pulling from remote." echo "Pulling from remote."
git pull 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." echo "Updating dependencies."
~/env/bin/pip install requirements.txt ~/env/bin/pip install requirements.txt