From 2d9bfdd96295a64dbe4edff3118f8fc2d91fee55 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Sun, 5 Feb 2023 17:51:32 -0600 Subject: [PATCH] Pull before running update script --- commit.sh | 1 + 1 file changed, 1 insertion(+) 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