Skip to content

Commit 9e306a2

Browse files
jsvisaautozimu
authored andcommitted
Fix: install compare with the binary's version
1 parent caae26a commit 9e306a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ try_build() {
4141

4242
bin=bin/languageclient
4343
if [ -f "$bin" ]; then
44-
installed_version=0.1.154
44+
installed_version=$($bin -V)
4545
case "${installed_version}" in
4646
*${version}*) echo "Version is equal to ${version}, skip install." ; exit 0 ;;
4747
*) rm -f "$bin" ;;

0 commit comments

Comments
 (0)