diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 index bb5bda56..2a8c4bed 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Common.psm1 @@ -3,6 +3,11 @@ function Get-BashVersion { return "Bash $version" } +function Get-DashVersion { + $version = dpkg-query -W -f '${Version}' dash + return "Dash $version" +} + function Get-CPPVersions { $result = Get-CommandResult "apt list --installed" -Multiline $cppVersions = $result.Output | Where-Object { $_ -match "g\+\+-\d+"} | ForEach-Object { diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 index d09faa33..0b4b432a 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 @@ -39,6 +39,7 @@ $markdown += New-MDHeader "Language and Runtime" -Level 3 $runtimesList = @( (Get-BashVersion), + (Get-DashVersion), (Get-CPPVersions), (Get-FortranVersions), (Get-NodeVersion),