Skip to content

Commit 67e206c

Browse files
authored
Update qbm-update.sh
1 parent 1532b71 commit 67e206c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qbm-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ branch=$(git -C "$qbmPath" rev-parse --abbrev-ref HEAD)
3636
echo "Current Branch: $branch. Checking for updates..."
3737
git -C "$qbmPath" fetch
3838
echo "force update is:$force"
39-
if [ "$(git -C "$qbmPath" rev-parse HEAD)" = "$(git -C "$qbmPath" rev-parse @'{u}')" ] && [ "$force" = false ]; then
39+
if [ "$(git -C "$qbmPath" rev-parse HEAD)" = "$(git -C "$qbmPath" rev-parse @'{u}')" ] && [ "$force" != true ]; then
4040
echo "=== Already up to date $currentVersion on $branch ==="
4141
exit 0
4242
fi

0 commit comments

Comments
 (0)