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