Rewrite for Debian only

This commit is contained in:
2025-04-06 17:27:10 +01:00
parent c0b620f606
commit 4e864a0141
8 changed files with 44 additions and 186 deletions

18
scripts/update Executable file
View File

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