diff --git a/coreupdate b/coreupdate index b11815d..c3a9691 100755 --- a/coreupdate +++ b/coreupdate @@ -20,6 +20,11 @@ EOF clear print_logo +echo "Updating CoreDesktop..." +git -C ~/.local/share/coredesktop pull +sudo cp ~/.local/share/coredesktop/coreupdate ~/.local/bin/coreupdate +sudo cp ~/.local/share/coredesktop/corerefresh ~/.local/bin/corerefresh + echo "Updating Arch..." sudo pacman -Syu @@ -48,4 +53,19 @@ mise upgrade --bump ruby mise reshim gem update +cd ~/.local/share/coredesktop +source utils.sh +source packages.conf + +echo "Checking for new packages..." +install_packages "${SYSTEM_UTILS[@]}" +install_packages "${DEV_TOOLS[@]}" +install_packages "${MAINTENANCE[@]}" +install_packages "${DESKTOP[@]}" +install_packages "${MEDIA[@]}" +install_packages "${FONTS[@]}" + +echo "Checking for new flatpaks..." +. install-flatpaks.sh + echo "Done. You probably want to reboot your system..."