diff options
author | Marcel Korpel | 2015-06-08 23:23:55 +0200 |
---|---|---|
committer | Marcel Korpel | 2015-06-08 23:23:55 +0200 |
commit | f480ef97c4ab0ddb48dab15961418c30c4653842 (patch) | |
tree | 01ac920ce79f4adc030f19b7d5d104622f2a4fbe /acroread-fonts-systemwide.install | |
download | aur-f480ef97c4ab0ddb48dab15961418c30c4653842.tar.gz |
Initial import
Diffstat (limited to 'acroread-fonts-systemwide.install')
-rw-r--r-- | acroread-fonts-systemwide.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/acroread-fonts-systemwide.install b/acroread-fonts-systemwide.install new file mode 100644 index 000000000000..0476998b74dc --- /dev/null +++ b/acroread-fonts-systemwide.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -s >/dev/null + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |