From 9c1983f067e78edb290f876f4c8326a07f1b50f1 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 10 Feb 2011 10:40:59 -0300 Subject: ttf-thai-libre-0.4.14-1 --- libre/ttf-thai-libre/ttf.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libre/ttf-thai-libre/ttf.install (limited to 'libre/ttf-thai-libre/ttf.install') diff --git a/libre/ttf-thai-libre/ttf.install b/libre/ttf-thai-libre/ttf.install new file mode 100644 index 000000000..203190187 --- /dev/null +++ b/libre/ttf-thai-libre/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs > /dev/null + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3