mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-30 03:43:50 +01:00
Update install-updates.ps1
This commit is contained in:
parent
be30481b1f
commit
f01d19c38d
@ -20,13 +20,13 @@ try {
|
||||
"👉 Step 1/4: Loading update infos..."
|
||||
sudo apt update
|
||||
|
||||
"👉 Step 2/4: Installing updates..."
|
||||
sudo apt upgrade
|
||||
"👉 Step 2/4: Installing updates for 'deb' packages..."
|
||||
sudo apt upgrade -y
|
||||
|
||||
"👉 Step 3/4: Removing obsolete packages..."
|
||||
"👉 Step 3/4: Removing obsolete 'deb' packages..."
|
||||
sudo apt autoremove
|
||||
|
||||
"👉 Step 4/4: Refreshing snap packages..."
|
||||
"👉 Step 4/4: Installing updates for snap packages..."
|
||||
sudo snap refresh
|
||||
} else {
|
||||
"Sorry, not supported yet"
|
||||
|
Loading…
Reference in New Issue
Block a user