Skip to content

Commit

Permalink
Update qbm-update.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerboy448 authored Nov 28, 2022
1 parent 1532b71 commit 67e206c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbm-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ branch=$(git -C "$qbmPath" rev-parse --abbrev-ref HEAD)
echo "Current Branch: $branch. Checking for updates..."
git -C "$qbmPath" fetch
echo "force update is:$force"
if [ "$(git -C "$qbmPath" rev-parse HEAD)" = "$(git -C "$qbmPath" rev-parse @'{u}')" ] && [ "$force" = false ]; then
if [ "$(git -C "$qbmPath" rev-parse HEAD)" = "$(git -C "$qbmPath" rev-parse @'{u}')" ] && [ "$force" != true ]; then
echo "=== Already up to date $currentVersion on $branch ==="
exit 0
fi
Expand Down

0 comments on commit 67e206c

Please sign in to comment.