X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=system-maintenance;h=8db4659d343a2d3a3b06fa12f232485d27febd43;hp=7ec31bf04961b8a04ec0b3be6795e61103b0be8f;hb=5c1cbc7fb8bc397e0de2da90fd63677d4d464f12;hpb=5e0a25a48258e1dad52f30a08648f1252022b618 diff --git a/system-maintenance b/system-maintenance index 7ec31bf..8db4659 100755 --- a/system-maintenance +++ b/system-maintenance @@ -3,18 +3,14 @@ set -eux rpm-ostree cleanup --rollback || true rpm-ostree cleanup --repomd +rpm-ostree cleanup --pending rpm-ostree cleanup --base -# keep repo on tmpfs -REPO=/var/tmp/repo/ -mkdir -p $REPO -mount -t tmpfs tmpfs $REPO - -(cd ~martin/src/workstation-ostree-config/; ./compose.sh) rpm-ostree upgrade -umount $REPO # fix fonts between Fedora releases rm -rf ~martin/.cache/fontconfig +su -c 'flatpak -y update' martin + fstrim -av