[Ubuntu] Add net-tools (#2838)

* add net-tools

* fix output
This commit is contained in:
Aleksandr Chebotov
2021-03-04 18:30:40 +03:00
committed by GitHub
parent 8a17c5ea71
commit 40f571a753
6 changed files with 14 additions and 0 deletions

View File

@@ -174,6 +174,11 @@ function Get-MediainfoVersion {
return "MediaInfo $mediainfoVersion"
}
function Get-NetToolsVersion {
$netToolsVersion = dpkg-query --showformat='${Version}' --show net-tools | Take-OutputPart -Part 0 -Delimiter '-' | Take-OutputPart -Part 0 -Delimiter '+'
return "net-tools $netToolsVersion"
}
function Get-NewmanVersion {
return "Newman $(newman --version)"
}