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