fix version comparison
This commit is contained in:
@@ -12,7 +12,7 @@ if [[ -x "$(command -v hx)" ]] ; then
|
||||
INSTALLED_VERSION="$(hx --version | grep -o '[0-9]\+\.[0-9]\+')"
|
||||
fi
|
||||
|
||||
if [[ "$VERSION" != "$INSTALLED_VERSION" ]] ; then
|
||||
if [[ "$VERSION" == "$INSTALLED_VERSION" ]] ; then
|
||||
echo "Helix editor version ${VERSION} already installed."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user