summaryrefslogtreecommitdiffstats
path: root/abs/extra/bdf-unifont/unifont.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-09-02 19:33:39 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-09-02 19:33:39 (GMT)
commit377439c1a78b29841e814298501fc6aa0a3ac643 (patch)
tree9fe8739b0d2028fc9fd3a3cb8d5ee9b5000c1ecb /abs/extra/bdf-unifont/unifont.install
parent0f53c78099e839774618291f63b4443801810c87 (diff)
downloadlinhes_pkgbuild-377439c1a78b29841e814298501fc6aa0a3ac643.zip
linhes_pkgbuild-377439c1a78b29841e814298501fc6aa0a3ac643.tar.gz
linhes_pkgbuild-377439c1a78b29841e814298501fc6aa0a3ac643.tar.bz2
bdf-unifont: requested by grub2
Diffstat (limited to 'abs/extra/bdf-unifont/unifont.install')
-rw-r--r--abs/extra/bdf-unifont/unifont.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/extra/bdf-unifont/unifont.install b/abs/extra/bdf-unifont/unifont.install
new file mode 100644
index 0000000..7d21ab5
--- /dev/null
+++ b/abs/extra/bdf-unifont/unifont.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/misc
+ mkfontdir /usr/share/fonts/misc
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}