Verified Commit dd2e2014 authored by likewhoa's avatar likewhoa
Browse files

Perform a full OS update

parent 42a85d47
......@@ -381,4 +381,25 @@ _update_20() {
# Finalize
touch "$HOME"/.config/RoninDojo/data/updates/20-"$(date +%m-%d-%Y)"
# Perform System Update
_update_21() {
if _is_dojo "${ronin_dojo_menu}"; then
printf "%s\n***\nPerfoming a full system update...\n***\n%s" "${red}" "${nc}"
_dojo_check && _stop_dojo
_pause continue
sudo pacman -Syyu --noconfirm
printf "%s\n***\nSystem update completed, restarting system...\n***\n%s" "${red}" "${nc}"
_pause reboot
# Finalize
touch "$HOME"/.config/RoninDojo/data/updates/21-"$(date +%m-%d-%Y)"
sudo systemctl reboot
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment