summaryrefslogtreecommitdiff
path: root/libre/xorg-fonts-type1/xfonts.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 03:37:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 03:37:40 -0300
commitc54c235da9f4322a2ad352fd43c5bc875f1daf2d (patch)
tree780eb64b944e4b6cb4f249ce471c16ac3d025657 /libre/xorg-fonts-type1/xfonts.install
parent05fff056ef7ee87f9c44f99a25411767c6375f6e (diff)
downloadabslibre-c54c235da9f4322a2ad352fd43c5bc875f1daf2d.tar.gz
abslibre-c54c235da9f4322a2ad352fd43c5bc875f1daf2d.tar.bz2
abslibre-c54c235da9f4322a2ad352fd43c5bc875f1daf2d.zip
xorg-fonts-{{100,75}dpi,type1}: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/xorg-fonts-type1/xfonts.install')
-rw-r--r--libre/xorg-fonts-type1/xfonts.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/libre/xorg-fonts-type1/xfonts.install b/libre/xorg-fonts-type1/xfonts.install
new file mode 100644
index 000000000..51688a1d1
--- /dev/null
+++ b/libre/xorg-fonts-type1/xfonts.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}