move all calls to sudo to update-all.sh
This commit is contained in:
parent
6a45fed971
commit
f79ac2ae5c
@ -7,7 +7,7 @@ set -eEuxo pipefail
|
||||
script_dir="$(realpath -e "$(dirname "${BASH_SOURCE[0]}")")"
|
||||
|
||||
sudo "${script_dir}/update-apt.sh"
|
||||
"${script_dir}/update-fw.sh"
|
||||
"${script_dir}/update-flatpak.sh"
|
||||
sudo "${script_dir}/update-fw.sh"
|
||||
sudo "${script_dir}/update-flatpak.sh"
|
||||
"${script_dir}/update-mamba.sh"
|
||||
"${script_dir}/update-vim.sh"
|
||||
|
@ -4,5 +4,5 @@
|
||||
set -eEuxo pipefail
|
||||
|
||||
|
||||
sudo flatpak update
|
||||
flatpak update
|
||||
flatpak uninstall --unused --delete-data
|
||||
|
@ -5,6 +5,6 @@
|
||||
set -Euxo pipefail
|
||||
|
||||
|
||||
sudo fwupdmgr refresh --force
|
||||
sudo fwupdmgr update
|
||||
fwupdmgr refresh --force
|
||||
fwupdmgr update
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user