fix syntax error in update script

This commit is contained in:
TNE 2022-11-27 01:05:26 +01:00
parent 79fe5aac39
commit 6b5f94c036
1 changed files with 1 additions and 1 deletions

2
update
View File

@ -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