diff --git a/images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1 b/images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1 index 5e4a3997d..3d335752d 100644 --- a/images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1 +++ b/images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1 @@ -100,7 +100,9 @@ if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) { # Tools $tools = $installedSoftware.AddHeader("Tools") $tools.AddToolVersion("Ansible", $(Get-AnsibleVersion)) -$tools.AddToolVersion("apt-fast", $(Get-AptFastVersion)) +if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) { + $tools.AddToolVersion("apt-fast", $(Get-AptFastVersion)) +} $tools.AddToolVersion("AzCopy", $(Get-AzCopyVersion)) $tools.AddToolVersion("Bazel", $(Get-BazelVersion)) $tools.AddToolVersion("Bazelisk", $(Get-BazeliskVersion))