diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-09-26 15:18:29 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-09-26 15:18:29 (GMT) |
commit | f98cf065b38a39d4a0262a74a5715d24ae880c3a (patch) | |
tree | d243b9784a581e3ec587dca9856e211ff315e169 /abs/core/ttf-overlock/ttf.install | |
parent | 33a2be7377667c3bd4f80472d3422ad1151b7ce6 (diff) | |
download | linhes_pkgbuild-f98cf065b38a39d4a0262a74a5715d24ae880c3a.zip linhes_pkgbuild-f98cf065b38a39d4a0262a74a5715d24ae880c3a.tar.gz linhes_pkgbuild-f98cf065b38a39d4a0262a74a5715d24ae880c3a.tar.bz2 |
ttf-overlock: initial inclusion; used as default OSD font
Diffstat (limited to 'abs/core/ttf-overlock/ttf.install')
-rw-r--r-- | abs/core/ttf-overlock/ttf.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/core/ttf-overlock/ttf.install b/abs/core/ttf-overlock/ttf.install new file mode 100644 index 0000000..7d26d0c --- /dev/null +++ b/abs/core/ttf-overlock/ttf.install @@ -0,0 +1,16 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |