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