summaryrefslogtreecommitdiff
path: root/pcr/ttf-beteckna/ttf-beteckna.install
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-12 04:59:26 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-12 07:15:25 -0400
commit32d85f370cbadb37ee9a7c77f5a59e3bceb43945 (patch)
tree57a20da9f51e116da585c4cf6f13aa7e08db16a5 /pcr/ttf-beteckna/ttf-beteckna.install
parentb72a7a0385f683974169a7cbd02eddfadf23e6c7 (diff)
downloadabslibre-32d85f370cbadb37ee9a7c77f5a59e3bceb43945.tar.gz
abslibre-32d85f370cbadb37ee9a7c77f5a59e3bceb43945.tar.bz2
abslibre-32d85f370cbadb37ee9a7c77f5a59e3bceb43945.zip
[ttf-beteckna]: rebuild
Diffstat (limited to 'pcr/ttf-beteckna/ttf-beteckna.install')
-rw-r--r--pcr/ttf-beteckna/ttf-beteckna.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/ttf-beteckna/ttf-beteckna.install b/pcr/ttf-beteckna/ttf-beteckna.install
new file mode 100644
index 000000000..bb81666c8
--- /dev/null
+++ b/pcr/ttf-beteckna/ttf-beteckna.install
@@ -0,0 +1,11 @@
+post_install()
+{
+ echo -n "==> Rebuilding font cache... "
+ fc-cache -f &> /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+}
+
+post_upgrade() { post_install $1 ; }
+
+post_remove() { post_install $1 ; }