summaryrefslogtreecommitdiff
path: root/pcr/ttf-roboto/ttf-roboto.install
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2012-11-22 09:49:46 +0100
committeraurelien <aurelien@cwb.io>2012-11-22 09:49:46 +0100
commit9cce2f098d5d77a2748952e1221127b9f0614566 (patch)
tree033dfbe157c9cdecd2a1d428ee73214e94035424 /pcr/ttf-roboto/ttf-roboto.install
parentc6f82e8dc74a97c194d1e2caeab67ac5b3743335 (diff)
downloadabslibre-9cce2f098d5d77a2748952e1221127b9f0614566.tar.gz
abslibre-9cce2f098d5d77a2748952e1221127b9f0614566.tar.bz2
abslibre-9cce2f098d5d77a2748952e1221127b9f0614566.zip
+ gtkmm pactools ttf-roboto
Diffstat (limited to 'pcr/ttf-roboto/ttf-roboto.install')
-rw-r--r--pcr/ttf-roboto/ttf-roboto.install15
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
+}