diff options
author | aurelien <aurelien@cwb.io> | 2012-11-22 09:49:46 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-22 09:49:46 +0100 |
commit | 9cce2f098d5d77a2748952e1221127b9f0614566 (patch) | |
tree | 033dfbe157c9cdecd2a1d428ee73214e94035424 /pcr/ttf-roboto/ttf-roboto.install | |
parent | c6f82e8dc74a97c194d1e2caeab67ac5b3743335 (diff) |
+ gtkmm pactools ttf-roboto
Diffstat (limited to 'pcr/ttf-roboto/ttf-roboto.install')
-rw-r--r-- | pcr/ttf-roboto/ttf-roboto.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/ttf-roboto/ttf-roboto.install b/pcr/ttf-roboto/ttf-roboto.install new file mode 100644 index 000000000..7dde94b45 --- /dev/null +++ b/pcr/ttf-roboto/ttf-roboto.install @@ -0,0 +1,15 @@ +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 +} |