diff options
author | felics@felics-tablet | 2018-02-12 21:27:39 +0100 |
---|---|---|
committer | felics@felics-tablet | 2018-02-12 21:27:39 +0100 |
commit | 6ba4f579b00738b2bfac3d7c746c5ea238057655 (patch) | |
tree | 97b400e5c8086344b98267523b14f6c60ebc7e05 /dniscript.install | |
download | aur-ttf-dni.tar.gz |
Initial commit.
Diffstat (limited to 'dniscript.install')
-rw-r--r-- | dniscript.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dniscript.install b/dniscript.install new file mode 100644 index 000000000000..1ae8213431da --- /dev/null +++ b/dniscript.install @@ -0,0 +1,14 @@ +post_install() { + echo -n "Updating font cache ... " + fc-cache -s + mkfontscale /usr/share/fonts/dniscript + mkfontdir /usr/share/fonts/dniscript +} + +post_upgrade() { + post_install "$@" +} + +post_remove() { + post_install "$@" +} |