mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 04:24:01 +01:00
Update list-updates.ps1
This commit is contained in:
parent
334c0adf63
commit
e1e301ebc7
@ -13,8 +13,10 @@
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
Write-Host "⏳ Querying available updates..."
|
||||
Write-Host "⏳ Querying updates for installed packages..."
|
||||
& sudo apt update
|
||||
Write-Host "⏳ Querying updates for installed snaps..."
|
||||
sudo snap refresh --list
|
||||
} else {
|
||||
Write-Progress "⏳ Querying available updates..."
|
||||
" "
|
||||
|
Loading…
Reference in New Issue
Block a user