From db689afc9d3c16e6151cca0abaad4aefd8b7efe0 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Mon, 27 May 2013 16:05:25 +0200 Subject: Move ttf-beteckna to pcr. --- pcr/ttf-beteckna/ttf.install | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pcr/ttf-beteckna/ttf.install (limited to 'pcr/ttf-beteckna/ttf.install') diff --git a/pcr/ttf-beteckna/ttf.install b/pcr/ttf-beteckna/ttf.install new file mode 100644 index 000000000..33b7d6549 --- /dev/null +++ b/pcr/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