Skip to content

Commit 1532b71

Browse files
authored
Update pmm-update.sh
1 parent aabbc02 commit 1532b71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pmm-update.sh

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

0 commit comments

Comments
 (0)