From 6b5f94c036c65706157343e8c4d07c686ed86be9 Mon Sep 17 00:00:00 2001 From: TNE Date: Sun, 27 Nov 2022 01:05:26 +0100 Subject: [PATCH] fix syntax error in update script --- update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update b/update index 115a89b..136de4b 100755 --- a/update +++ b/update @@ -18,7 +18,7 @@ if [ ! -d "./.git" ]; then git remote add origin https://github.com/chaotic-aur/docker-mirror git fetch git reset --hard origin/main -else if [ ! -f ./custom.diff ]; then +elif [ ! -f ./custom.diff ]; then git pull || { echo "Git pull failed, please fix the issue at hand."; exit 1; } else git fetch