diff options
author | Roman Mikhayloff | 2016-12-21 18:47:05 +0300 |
---|---|---|
committer | Roman Mikhayloff | 2016-12-21 18:47:05 +0300 |
commit | d52d87e2e55b925f9c1c000d061b4c074e67bc84 (patch) | |
tree | 7e585467cb7c1841e8d485594ac8642d1473de3f /ttf-xo-oriel-condensed.install | |
download | aur-d52d87e2e55b925f9c1c000d061b4c074e67bc84.tar.gz |
add ttf-xo-oriel-condensed package
Diffstat (limited to 'ttf-xo-oriel-condensed.install')
-rw-r--r-- | ttf-xo-oriel-condensed.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-xo-oriel-condensed.install b/ttf-xo-oriel-condensed.install new file mode 100644 index 000000000000..724145fffa8a --- /dev/null +++ b/ttf-xo-oriel-condensed.install @@ -0,0 +1,15 @@ +post_install() { + 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_remove() { + post_install $1 +} |