aboutsummarylogtreecommitdiffstats
path: root/ttf-proggy-vector.install
diff options
context:
space:
mode:
authorsheepjin992020-03-02 02:45:29 +0900
committersheepjin992020-03-02 02:45:29 +0900
commitec9708717377bffa57ca3c3eeafaf6f8f6bbb1a5 (patch)
tree54e47d5f33928bb13265b5c24dfd59e72a4c4ef1 /ttf-proggy-vector.install
downloadaur-ec9708717377bffa57ca3c3eeafaf6f8f6bbb1a5.tar.gz
initial commit
Diffstat (limited to 'ttf-proggy-vector.install')
-rw-r--r--ttf-proggy-vector.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-proggy-vector.install b/ttf-proggy-vector.install
new file mode 100644
index 000000000000..25c6acafedf5
--- /dev/null
+++ b/ttf-proggy-vector.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f -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
+} \ No newline at end of file