Improve the output

This commit is contained in:
Markus Fleschutz
2022-01-18 21:02:19 +01:00
parent e8df5794cd
commit fd7b60182d
7 changed files with 31 additions and 34 deletions

View File

@ -17,16 +17,16 @@ try {
$StopWatch = [system.diagnostics.stopwatch]::startNew()
if ($IsLinux) {
"(1/4) Fetching update infos for installed Debian packages..."
"Step 1/4: Fetching update infos for installed Debian packages..."
& sudo apt update
"(2/4) Upgrading installed Debian packages..."
"Step 2/4: Upgrading installed Debian packages..."
& sudo apt upgrade --yes
"(3/4) Removing obsolete Debian packages..."
"Step 3/4: Removing obsolete Debian packages..."
& sudo apt autoremove --yes
"(4/4) Upgrading installed Snap packages..."
"Step 4/4: Upgrading installed Snap packages..."
& sudo snap refresh
} else {
"Sorry, not supported yet"