diff options
Diffstat (limited to 'ttf-atom-file-icons.install')
-rw-r--r-- | ttf-atom-file-icons.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-atom-file-icons.install b/ttf-atom-file-icons.install new file mode 100644 index 000000000000..db0951b4f496 --- /dev/null +++ b/ttf-atom-file-icons.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs >/dev/null + mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1 + mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1 + echo " ...done." +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file |