move all calls to sudo to update-all.sh

This commit is contained in:
z0rc 2024-06-19 12:58:35 +02:00
parent 6a45fed971
commit f79ac2ae5c
3 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ set -eEuxo pipefail
script_dir="$(realpath -e "$(dirname "${BASH_SOURCE[0]}")")" script_dir="$(realpath -e "$(dirname "${BASH_SOURCE[0]}")")"
sudo "${script_dir}/update-apt.sh" sudo "${script_dir}/update-apt.sh"
"${script_dir}/update-fw.sh" sudo "${script_dir}/update-fw.sh"
"${script_dir}/update-flatpak.sh" sudo "${script_dir}/update-flatpak.sh"
"${script_dir}/update-mamba.sh" "${script_dir}/update-mamba.sh"
"${script_dir}/update-vim.sh" "${script_dir}/update-vim.sh"

View File

@ -4,5 +4,5 @@
set -eEuxo pipefail set -eEuxo pipefail
sudo flatpak update flatpak update
flatpak uninstall --unused --delete-data flatpak uninstall --unused --delete-data

View File

@ -5,6 +5,6 @@
set -Euxo pipefail set -Euxo pipefail
sudo fwupdmgr refresh --force fwupdmgr refresh --force
sudo fwupdmgr update fwupdmgr update
exit 0 exit 0