1
0

fix version comparison

This commit is contained in:
2022-07-09 21:55:16 +02:00
parent a3ba3deb68
commit 1672f95f8b
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ if [[ -x "$(command -v kitty)" ]] ; then
INSTALLED_VERSION="$(kitty --version | grep -o '[0-9.]\+')"
fi
if [[ "$VERSION" != "$INSTALLED_VERSION" ]] ; then
if [[ "$VERSION" == "$INSTALLED_VERSION" ]] ; then
echo "Kitty version ${VERSION} already installed."
exit 0
fi