Add mon to replace cpu, and script adjustments

This commit is contained in:
2025-04-07 14:33:16 +01:00
parent f1da7ea07b
commit 847a2d088d
10 changed files with 138 additions and 107 deletions

View File

@@ -1,9 +1,9 @@
#! /bin/bash
YELLOW="\e[33m"
ENDCOLOR="\e[0m"
NC="\e[0m"
printf "%b\n" "${YELLOW}Updating apt...${ENDCOLOR}"
printf "%b\n" "${YELLOW}Updating apt...${NC}"
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
@@ -11,8 +11,7 @@ sudo apt autoremove
sudo apt autoclean
if command -v flatpak >/dev/null 2>&1; then
printf "%b\n" "${YELLOW}Updating flatpak...${ENDCOLOR}"
printf "%b\n" "${YELLOW}Updating flatpak...${NC}"
flatpak update
flatpak uninstall --unused --delete-data
fi