xorg-2.eclass: Notify users to run 'xset fp rehash' when fonts change
authorMatt Turner <mattst88@gentoo.org>
Sat, 26 May 2018 20:02:27 +0000 (13:02 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sat, 26 May 2018 20:29:46 +0000 (13:29 -0700)
Closes: https://bugs.gentoo.org/384685

eclass/xorg-2.eclass

index 889031c01fc13a8a1b637216484e191a4e581083..f321d69bcbe4edb90f24f570e573f1eb14e3a5e7 100644 (file)
@@ -515,6 +515,8 @@ xorg-2_pkg_postinst() {
                create_fonts_scale
                create_fonts_dir
                font_pkg_postinst "$@"
+
+               ewarn "Installed fonts changed. Run 'xset fp rehash' if you are using non-fontconfig applications."
        fi
 }