diff options
author | Andrea Girotto | 2016-07-19 19:54:05 +0200 |
---|---|---|
committer | Andrea Girotto | 2016-07-19 19:54:05 +0200 |
commit | 8a6ea45515285dba50c0fd48a6c0f9c6ab8a7395 (patch) | |
tree | 087bcc37af91823e87e1897fded9b55ba23c9267 /ttf-rajdhani.install | |
download | aur-ttf-rajdhani.tar.gz |
ttf-rajdhani font release 2.000
Diffstat (limited to 'ttf-rajdhani.install')
-rw-r--r-- | ttf-rajdhani.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-rajdhani.install b/ttf-rajdhani.install new file mode 100644 index 000000000000..67445cf458e1 --- /dev/null +++ b/ttf-rajdhani.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done" +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |