diff options
Diffstat (limited to 'abs/core/gsfonts/install')
-rw-r--r-- | abs/core/gsfonts/install | 15 |
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 +} |