aboutsummaryrefslogtreecommitdiffstats
path: root/x11/font-winitzki-cyrillic
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-03 12:04:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-03 12:04:19 +0000
commit1c05e9fc3e2596e912dd7b75054f0961b77bc7b4 (patch)
treea20a42f96f9db89e66f557495ab05f5ef1f92777 /x11/font-winitzki-cyrillic
parent627cf2171d6f035e046c0d722e1befef294ceb00 (diff)
downloadaports-1c05e9fc3e2596e912dd7b75054f0961b77bc7b4.tar.bz2
aports-1c05e9fc3e2596e912dd7b75054f0961b77bc7b4.tar.xz
x11/font-*-*: added type1, ttf, speedo and cyrillic fonts
Diffstat (limited to 'x11/font-winitzki-cyrillic')
-rw-r--r--x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-install8
l---------x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-upgrade1
2 files changed, 9 insertions, 0 deletions
diff --git a/x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-install b/x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-install
new file mode 100644
index 0000000000..0d2f0d77cd
--- /dev/null
+++ b/x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+echo -n "Updating font cache (TODO: implement triggers in apk)... "
+fc-cache -f > /dev/null
+mkfontscale /usr/share/fonts/cyrillic
+mkfontdir /usr/share/fonts/cyrillic
+echo "done."
+
diff --git a/x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-upgrade b/x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-upgrade
new file mode 120000
index 0000000000..a0928865f2
--- /dev/null
+++ b/x11/font-winitzki-cyrillic/font-winitzki-cyrillic.post-upgrade
@@ -0,0 +1 @@
+font-winitzki-cyrillic.post-install \ No newline at end of file