ubuntu-backport-cockpit: Adjust for Ubuntu 22.04
[bin.git] / system-maintenance
1 #!/bin/sh
2 set -eux
3
4 rpm-ostree cleanup --rollback || true
5 rpm-ostree cleanup --repomd
6 rpm-ostree cleanup --pending
7 rpm-ostree cleanup --base
8
9 rpm-ostree upgrade
10
11 # fix fonts between Fedora releases
12 rm -rf ~martin/.cache/fontconfig
13
14 su -c 'flatpak -y update' martin
15
16 fstrim -av