add sphinx version and remove pollinate

This commit is contained in:
Dibir Magomedsaygitov
2020-09-24 16:50:28 +03:00
parent ffbcaa7854
commit 3500bbdf3e
2 changed files with 6 additions and 2 deletions

View File

@@ -257,3 +257,8 @@ function Get-RVersion {
$rVersion = R --version | Select-String "R version" | Take-OutputPart -Part -2
return "R $rVersion"
}
function Get-SphinxVersion {
$sphinxVersion = searchd | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "Sphinx Open Source Search Server $rVersion"
}