File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ param($query)
55
66. " $PSScriptRoot \..\lib\versions.ps1" # 'Select-CurrentVersion'
77. " $PSScriptRoot \..\lib\manifest.ps1" # 'parse_json' 'Select-CurrentVersion' (indirectly)
8+ . " $PSScriptRoot \..\lib\download.ps1" # 'Get-UserAgent'
89
9- $def_arch = Get-DefaultArchitecture
10+ $defaultArchitecture = Get-DefaultArchitecture
1011if (-not (Get-FormatData ScoopApps)) {
1112 Update-FormatData " $PSScriptRoot \..\supporting\formats\ScoopTypes.Format.ps1xml"
1213}
@@ -47,10 +48,11 @@ $apps | Where-Object { !$query -or ($_.name -match $query) } | ForEach-Object {
4748 $item.Updated = $updated
4849
4950 $info = @ ()
51+ if ((app_status $app $global ).deprecated) { $info += ' Deprecated package' }
5052 if ($global ) { $info += ' Global install' }
5153 if (failed $app $global ) { $info += ' Install failed' }
5254 if ($install_info.hold ) { $info += ' Held package' }
53- if ($install_info.architecture -and $def_arch -ne $install_info.architecture ) {
55+ if ($install_info.architecture -and $defaultArchitecture -ne $install_info.architecture ) {
5456 $info += $install_info.architecture
5557 }
5658 $item.Info = $info -join ' , '
You can’t perform that action at this time.
0 commit comments