Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

install-tusd: Be careful to match the complete version line.

Anders Kaseorgd5bc3421fcf0
diff --git a/tools/setup/install-tusd b/tools/setup/install-tusd
index 6b3cb7ac687..e9019cacc41 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