diff options
Diffstat (limited to 'extra/bdf-unifont/unifont.install')
-rw-r--r-- | extra/bdf-unifont/unifont.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/bdf-unifont/unifont.install b/extra/bdf-unifont/unifont.install new file mode 100644 index 000000000..7d21ab51b --- /dev/null +++ b/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 +} |