mirror of https://github.com/zulip/zulip.git
install-tusd: Be careful to match the complete version line.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
fb623f4450
commit
d5bc3421fc
|
@ -17,7 +17,8 @@ case $arch in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
check_version() {
|
check_version() {
|
||||||
out="$(tusd --version)" && [[ "$out" = *"Version: v$version"* ]]
|
out="$(tusd --version)" && [[ "$out" = "Version: v$version
|
||||||
|
"* ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! check_version 2>/dev/null; then
|
if ! check_version 2>/dev/null; then
|
||||||
|
|
Loading…
Reference in New Issue