]> piware.de Git - bin.git/commitdiff
system-maintenance: Clear font cache
authorMartin Pitt <martin@piware.de>
Sat, 14 Mar 2020 10:53:42 +0000 (11:53 +0100)
committerMartin Pitt <martin@piware.de>
Sat, 14 Mar 2020 10:53:42 +0000 (11:53 +0100)
Otherwise fonts look increasingly broken when switching between Fedora
releases.

system-maintenance

index 992c1062c72bfc4c2bc90b767fdc46153be49819..ad148ef1162d801541d44f5ddc48f39593a0d7e9 100755 (executable)
@@ -14,4 +14,7 @@ mount -t tmpfs tmpfs $REPO
 rpm-ostree upgrade
 umount $REPO
 
+# fix fonts between Fedora releases
+rm -rf ~martin/.cache/fontconfig
+
 fstrim -av