From 9fbcf1de15e197d8d1478b16aad5cd368dda0ec3 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Tue, 30 Aug 2011 19:23:58 +0200 Subject: ~mtjm/ttf-beteckna-0.4-1 from AUR --- ~mtjm/ttf-beteckna/ttf.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ~mtjm/ttf-beteckna/ttf.install (limited to '~mtjm/ttf-beteckna/ttf.install') diff --git a/~mtjm/ttf-beteckna/ttf.install b/~mtjm/ttf-beteckna/ttf.install new file mode 100644 index 000000000..33b7d6549 --- /dev/null +++ b/~mtjm/ttf-beteckna/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "==> Rebuilding font cache... " + fc-cache -f &> /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-54-g00ecf