separated apt and fwupdmgr
This commit is contained in:
parent
0814a84bf2
commit
f66bbbb9ec
@ -6,6 +6,7 @@ set -eEuxo pipefail
|
||||
|
||||
script_dir="$(realpath -e "$(dirname "${BASH_SOURCE[0]}")")"
|
||||
|
||||
"${script_dir}/update-system.sh"
|
||||
sudo "${script_dir}/update-apt.sh"
|
||||
"${script_dir}/update-fw.sh"
|
||||
"${script_dir}/update-flatpak.sh"
|
||||
"${script_dir}/update-mamba.sh"
|
||||
|
11
update-scripts/update-apt.sh
Executable file
11
update-scripts/update-apt.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
set -eEuxo pipefail
|
||||
|
||||
|
||||
apt clean
|
||||
apt update
|
||||
apt full-upgrade
|
||||
apt autopurge
|
||||
apt purge $(dpkg -l | awk '/^rc/ { print $2 }')
|
8
update-scripts/update-fw.sh
Executable file
8
update-scripts/update-fw.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
set -eEuxo pipefail
|
||||
|
||||
|
||||
sudo fwupdmgr refresh --force
|
||||
sudo fwupdmgr update
|
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
set -eEuxo pipefail
|
||||
|
||||
|
||||
sudo apt clean
|
||||
sudo apt update
|
||||
sudo apt full-upgrade
|
||||
sudo apt autopurge
|
||||
sudo apt purge $(dpkg -l | awk '/^rc/ { print $2 }')
|
||||
|
||||
sudo fwupdmgr refresh --force
|
||||
sudo fwupdmgr update
|
Loading…
Reference in New Issue
Block a user