diff --git a/tools/setup/install-tusd b/tools/setup/install-tusd index 6b3cb7ac68..e9019cacc4 100755 --- a/tools/setup/install-tusd +++ b/tools/setup/install-tusd @@ -17,7 +17,8 @@ case $arch in esac check_version() { - out="$(tusd --version)" && [[ "$out" = *"Version: v$version"* ]] + out="$(tusd --version)" && [[ "$out" = "Version: v$version +"* ]] } if ! check_version 2>/dev/null; then