diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:30:59 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:30:59 (GMT) |
commit | c14d6373643502acb1f968300e0bbbe9e179f3a7 (patch) | |
tree | 581f812afa4f3413a4d5d29f28823d3a0fa81713 /abs/core/gsfonts/install | |
parent | e39a88ed81cbb4f4ddb9f1de4d0497ff7db908d7 (diff) | |
download | linhes_pkgbuild-c14d6373643502acb1f968300e0bbbe9e179f3a7.zip linhes_pkgbuild-c14d6373643502acb1f968300e0bbbe9e179f3a7.tar.gz linhes_pkgbuild-c14d6373643502acb1f968300e0bbbe9e179f3a7.tar.bz2 |
gsfonts 1.0.7
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 +} |