summarylogtreecommitdiffstats
path: root/ttf-roboto-slab.install
diff options
context:
space:
mode:
authorMarkus Weimar2015-08-12 13:54:03 +0200
committerMarkus Weimar2015-08-12 13:54:03 +0200
commit1f67ad7fbf62f71a0ec5042de61df6aa0dfa9145 (patch)
treef5bb142851856792baf6a9b3c7ac6076ae6a6d7a /ttf-roboto-slab.install
parented752dbee6c9b74e389a155c6f0a010747cd032d (diff)
downloadaur-1f67ad7fbf62f71a0ec5042de61df6aa0dfa9145.tar.gz
New maintainer. Fixed package.
Diffstat (limited to 'ttf-roboto-slab.install')
-rw-r--r--ttf-roboto-slab.install17
1 files changed, 7 insertions, 10 deletions
diff --git a/ttf-roboto-slab.install b/ttf-roboto-slab.install
index c574655354ca..724145fffa8a 100644
--- a/ttf-roboto-slab.install
+++ b/ttf-roboto-slab.install
@@ -1,18 +1,15 @@
post_install() {
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
+ echo -n "Updating font cache... "
+ fc-cache -s > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
}
post_upgrade() {
- post_install $1
+ post_install $1
}
post_remove() {
- post_install $1
+ post_install $1
}
-
-op=$1
-shift
-
-$op $*