mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-04 15:44:44 +02:00
Update list-updates.ps1
This commit is contained in:
parent
515369b938
commit
a67096fea0
@ -15,6 +15,7 @@ try {
|
|||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Host "⏳ Querying updates for installed packages..."
|
Write-Host "⏳ Querying updates for installed packages..."
|
||||||
& sudo apt update
|
& sudo apt update
|
||||||
|
& sudo apt list --upgradable
|
||||||
Write-Host "⏳ Querying updates for installed snaps..."
|
Write-Host "⏳ Querying updates for installed snaps..."
|
||||||
sudo snap refresh --list
|
sudo snap refresh --list
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user