[Ubuntu] fix software report for mysql (#4699)

This commit is contained in:
Mikhail Koliada
2021-12-10 10:27:18 +03:00
committed by GitHub
parent 9e30602178
commit fea7c2e6d1

View File

@@ -17,6 +17,9 @@ function Get-SqliteVersion {
function Get-MySQLVersion {
$mySQLVersion = mysqld --version | Take-OutputPart -Part 2
if (-not (Test-IsUbuntu20)) {
$mySQLVersion = $mySQLVersion | Take-OutputPart -Part 0 -Delimiter "-"
}
return "MySQL $mySQLVersion"
}