mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-15 11:10:54 +01:00
Update list-updates.ps1
This commit is contained in:
parent
ccfc7cca91
commit
f683a2226e
@ -13,7 +13,7 @@
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
"⏳ (1/4) Querying updates for installed Debian packages..."
|
||||
Write-Host "⏳ Querying available updates..."
|
||||
& sudo apt update
|
||||
} else {
|
||||
Write-Progress "⏳ Querying available updates..."
|
||||
@ -25,4 +25,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user