diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-08 14:29:52 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-08 14:32:03 -0300 |
commit | 2e566c0b0f3fba5a27924e57f351c3486e73b9c5 (patch) | |
tree | 659f5005449e95c4a5160773ad51c4572821b698 /pcr/ttf-comic-neue/ttf-comic-neue.install | |
parent | 1340c6e3954723bc24b3d31b6e37fd83ed9b2ad0 (diff) |
ttf-comic-neue: add new package to [pcr]
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" +} |