summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2015-11-05 17:30:50 -0600
committerDoug Newgard2015-11-05 17:30:50 -0600
commitbdbc4be6f65f4294fd86ad9994e989926c1eb84b (patch)
tree1909ad22ca261439520039cee96473adca08a738
parente58a32d05f714db87fbe38f83432c9a1e8795c3e (diff)
downloadaur-bdbc4be6f65f4294fd86ad9994e989926c1eb84b.tar.gz
Simplify install scriptlet and make it conform to coding style
-rw-r--r--ttf-ms-win10.install14
1 files changed, 5 insertions, 9 deletions
diff --git a/ttf-ms-win10.install b/ttf-ms-win10.install
index f8cfb14bfb4..ba8623d5f5a 100644
--- a/ttf-ms-win10.install
+++ b/ttf-ms-win10.install
@@ -1,17 +1,13 @@
post_install() {
- fc-cache -s
- mkfontscale usr/share/fonts/TTF
- mkfontdir usr/share/fonts/TTF
+ fc-cache -s
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
}
post_upgrade() {
- fc-cache -s
- mkfontscale usr/share/fonts/TTF
- mkfontdir usr/share/fonts/TTF
+ post_install
}
post_remove() {
- fc-cache -s
- mkfontscale usr/share/fonts/TTF
- mkfontdir usr/share/fonts/TTF
+ post_install
}