diff --git a/Scripts/install-updates.ps1 b/Scripts/install-updates.ps1 index 06ad1a67..6e27ae22 100755 --- a/Scripts/install-updates.ps1 +++ b/Scripts/install-updates.ps1 @@ -3,6 +3,7 @@ Installs software updates .DESCRIPTION This PowerShell script installs updates for the local machine (needs admin rights). + Use "list-updates.ps1" to list available updates. .EXAMPLE PS> ./install-updates .LINK diff --git a/Scripts/list-updates.ps1 b/Scripts/list-updates.ps1 index d85d47d2..6ad30926 100644 --- a/Scripts/list-updates.ps1 +++ b/Scripts/list-updates.ps1 @@ -14,16 +14,15 @@ try { if ($IsLinux) { - Write-Host "⏳ Querying package updates..." + "⏳ (1/2) Querying package updates... (use install-updates.ps1 to install them)" & sudo apt update & sudo apt list --upgradable - Write-Host "⏳ Querying Snap updates..." + "⏳ (2/2) Querying Snap updates... (use install-updates.ps1 to install them)" sudo snap refresh --list } else { - Write-Progress "⏳ Querying application updates..." + "⏳ Querying application updates... (use install-updates.ps1 to install them)" " " & winget upgrade - Write-Progress -Completed " " } exit 0 # success } catch {