diff --git a/commit.sh b/commit.sh index 6c19013..e6b5477 100755 --- a/commit.sh +++ b/commit.sh @@ -1,6 +1,7 @@ #!/bin/bash cd /usr/files/repo echo "==> Checking for updates..." +git pull || exit 1 /usr/volume/script/script.sh git clean -fdx if [[ `git status --porcelain` ]]; then