summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2018-05-26 13:02:27 -0700
committerMatt Turner <mattst88@gentoo.org>2018-05-26 13:29:46 -0700
commit053b9d09dda24d2968c31c52d6898e62183f1fc4 (patch)
tree17268cbd25f7b7e9aa241dea6955d5a0d0e0e884
parentxorg-2.eclass: Always install iso8859-1 (diff)
downloadgentoo-053b9d09dda24d2968c31c52d6898e62183f1fc4.tar.gz
gentoo-053b9d09dda24d2968c31c52d6898e62183f1fc4.tar.bz2
gentoo-053b9d09dda24d2968c31c52d6898e62183f1fc4.zip
xorg-2.eclass: Notify users to run 'xset fp rehash' when fonts change
Closes: https://bugs.gentoo.org/384685
-rw-r--r--eclass/xorg-2.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass
index 889031c01fc..f321d69bcbe 100644
--- a/eclass/xorg-2.eclass
+++ b/eclass/xorg-2.eclass
@@ -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
}