summarylogtreecommitdiffstats
path: root/tt.install
diff options
context:
space:
mode:
authorfelics@felics-tablet2016-05-19 20:25:48 +0200
committerfelics@felics-tablet2016-05-19 20:25:48 +0200
commit8b17075b8a15edb99d0147f61a358427e26f9110 (patch)
treed77011feb81916c0e4b7ae5682839950e91a1fd3 /tt.install
downloadaur-8b17075b8a15edb99d0147f61a358427e26f9110.tar.gz
This package replaces ttf-timetable. Initial commit of ttf-timetable-latest.
Diffstat (limited to 'tt.install')
-rw-r--r--tt.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/tt.install b/tt.install
new file mode 100644
index 000000000000..f8d34e99e63f
--- /dev/null
+++ b/tt.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo -n "Updating font cache ... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/timetable
+ mkfontdir /usr/share/fonts/timetable
+}
+
+post_upgrade() {
+ post_install "$@"
+}
+
+post_remove() {
+ post_install "$@"
+}