if [ ! -d '.git' ]; then
echo "Cannot find .git/, please run me from your cloned repo's top directory!"
-elif [ ! -f '.git/hooks/pre-commit' ]; then
+fi
+
+pip install -r requirements.txt
+
+if [ ! -f '.git/hooks/pre-commit' ]; then
echo 'Linking pre-commit hook.'
cd .git/hooks/
ln -s ../../scripts/pre-commit