mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 05:13:19 -07:00
Fix indentation in cronwrapper
This commit is contained in:
parent
63bc4c4ee0
commit
9140e26f0a
2 changed files with 27 additions and 26 deletions
|
@ -334,6 +334,7 @@ if [ "${AUTOUPDATE}" = "yes" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Force FETCH_HEAD to point to the correct branch (for older versions of git which don't default to current branch)
|
||||
if git fetch origin $BRANCHNAME --quiet && ! git diff --quiet FETCH_HEAD; then
|
||||
info "Auto-updating..."
|
||||
if ! git merge --quiet FETCH_HEAD; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue