mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 01:10:12 -08:00
feat: Add cleanup for unused Flatpak runtimes after updates
This commit is contained in:
@@ -561,6 +561,9 @@ perform_system_update() {
|
|||||||
if command -v flatpak &> /dev/null; then
|
if command -v flatpak &> /dev/null; then
|
||||||
log_message "INFO" "Updating Flatpak packages..."
|
log_message "INFO" "Updating Flatpak packages..."
|
||||||
flatpak update -y
|
flatpak update -y
|
||||||
|
|
||||||
|
log_message "INFO" "Cleaning up unused Flatpak runtimes..."
|
||||||
|
flatpak uninstall --unused -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v snap &> /dev/null; then
|
if command -v snap &> /dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user