mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
install-tusd: Be careful to match the complete version line.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
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
|
||||||
|
|||||||
Reference in New Issue
Block a user