diff options
Diffstat (limited to 'pcr/ttf-comic-neue/ttf-comic-neue.install')
-rw-r--r-- | pcr/ttf-comic-neue/ttf-comic-neue.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/ttf-comic-neue/ttf-comic-neue.install b/pcr/ttf-comic-neue/ttf-comic-neue.install new file mode 100644 index 000000000..309a51b29 --- /dev/null +++ b/pcr/ttf-comic-neue/ttf-comic-neue.install @@ -0,0 +1,15 @@ +post_install() { + post_remove $1 +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + echo -n "==> Rebuilding font cache... " + fc-cache -s &> /dev/null + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo "done" +} |