From 0fe4ffeb62238987d5bda717c791785d1567d19d Mon Sep 17 00:00:00 2001 From: humocs-man Date: Mon, 19 Oct 2026 01:04:43 +0200 Subject: [PATCH] fix: verwaiste Flatpak-Runtimes nach Update entfernen (--unused) --- scripts/notify-bootc-user.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/notify-bootc-user.sh b/scripts/notify-bootc-user.sh index d6496d0..b68aef6 100755 --- a/scripts/notify-bootc-user.sh +++ b/scripts/notify-bootc-user.sh @@ -61,6 +61,12 @@ if have "$FLATPAK"; then $FLATPAK update -y --noninteractive 2>&1 \ | grep -v -E "Treating remote fetch error as non-fatal|No such ref .* in remote" \ || true + # Verwaiste Runtimes (upstream nicht mehr angeboten / von keiner App + # mehr referenziert) entfernen, damit sie nicht bei jedem Update als + # "No such ref" warnen und Platz belegen. + $FLATPAK uninstall --unused -y 2>&1 \ + | grep -v -E "Nothing unused to uninstall|No installed refs" \ + || true $LOGGER -t "$TAG" "Flatpak-Update abgeschlossen." else $LOGGER -t "$TAG" "Flatpak nicht installiert, ueberspringe Flatpak-Update."