diff options
author | Doug Newgard | 2015-11-05 17:30:50 -0600 |
---|---|---|
committer | Doug Newgard | 2015-11-05 17:30:50 -0600 |
commit | bdbc4be6f65f4294fd86ad9994e989926c1eb84b (patch) | |
tree | 1909ad22ca261439520039cee96473adca08a738 | |
parent | e58a32d05f714db87fbe38f83432c9a1e8795c3e (diff) | |
download | aur-bdbc4be6f65f4294fd86ad9994e989926c1eb84b.tar.gz |
Simplify install scriptlet and make it conform to coding style
-rw-r--r-- | ttf-ms-win10.install | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/ttf-ms-win10.install b/ttf-ms-win10.install index f8cfb14bfb40..ba8623d5f5a6 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 } |