mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Fix branchname
This commit is contained in:
parent
37f75bcd32
commit
a17ab855c8
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ if [ "${AUTOUPDATE}" = "yes" ]; then
|
||||||
warn "You have made changes to the plexupdate files, cannot auto update"
|
warn "You have made changes to the plexupdate files, cannot auto update"
|
||||||
else
|
else
|
||||||
# Force FETCH_HEAD to point to the correct branch (for older versions of git which don't default to current branch)
|
# 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
|
if git fetch origin ${BRANCHNAME:-master} --quiet && ! git diff --quiet FETCH_HEAD; then
|
||||||
info "Auto-updating..."
|
info "Auto-updating..."
|
||||||
|
|
||||||
# Use an associative array to store permissions. If you're running bash < 4, the declare will fail and we'll
|
# Use an associative array to store permissions. If you're running bash < 4, the declare will fail and we'll
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue