summaryrefslogtreecommitdiffstats
path: root/abs/core/gsfonts/install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gsfonts/install')
-rw-r--r--abs/core/gsfonts/install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/gsfonts/install b/abs/core/gsfonts/install
new file mode 100644
index 0000000..023e2ec
--- /dev/null
+++ b/abs/core/gsfonts/install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -sf > /dev/null
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}