Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=bdadd9f814524181906c4437b183c51fabba9dc3

commit bdadd9f814524181906c4437b183c51fabba9dc3
Author: James Buren <r...@frugalware.org>
Date:   Fri Nov 6 03:12:11 2009 -0600

fonts.install
* initial draft

diff --git a/source/include/fonts.install b/source/include/fonts.install
new file mode 100644
index 0000000..24cb06d
--- /dev/null
+++ b/source/include/fonts.install
@@ -0,0 +1,20 @@
+post_install() {
+       echo -n "Updating font cache... "
+       mkfontscale '$_F_fonts_dir'
+       mkfontdir '$_F_fonts_dir'
+       fc-cache -f '$_F_fonts_dir'
+       echo "done."
+}
+
+post_upgrade() {
+       post_install $1
+}
+
+post_remove() {
+       post_install $1
+}
+
+op=$1
+shift
+
+$op $*
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to