fix syntax error in update script
This commit is contained in:
parent
79fe5aac39
commit
6b5f94c036
2
update
2
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
|
||||
|
|
Loading…
Reference in New Issue