diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 03:37:40 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 03:37:40 -0300 |
commit | c54c235da9f4322a2ad352fd43c5bc875f1daf2d (patch) | |
tree | 780eb64b944e4b6cb4f249ce471c16ac3d025657 /libre/xorg-fonts-type1/xfonts.install | |
parent | 05fff056ef7ee87f9c44f99a25411767c6375f6e (diff) | |
download | abslibre-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.install | 15 |
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 +} |