[Ubuntu] Add apt-fast version to readme (#1846)

* add apt-fast

* change to apt list

* simplify the function
This commit is contained in:
Mikhail Timofeev
2020-10-20 12:38:05 +03:00
committed by GitHub
parent 2a0836a763
commit a5ef7bd7ef
2 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ function Get-AnsibleVersion {
return "Ansible $ansibleVersion"
}
function Get-AptFastVersion {
$aptFastVersion = (dpkg-query --showformat='${Version}' --show apt-fast).Split('-')[0]
return "apt-fast $aptFastVersion"
}
function Get-AzCopy7Version {
$azcopy7Version = azcopy --version | Take-OutputPart -Part 1 | Take-OutputPart -Part 0 -Delimiter "-"
return "AzCopy7 $azcopy7Version (available by ``azcopy`` alias)"