summarylogtreecommitdiffstats
path: root/ttf.install
diff options
context:
space:
mode:
authorfelix2017-01-19 12:54:40 +0100
committerfelix2017-01-19 12:54:40 +0100
commit7a27c4a359306db5c5ab026ed687f7563961eaa3 (patch)
tree036b352a1b715ef1828307cf1e03588bc839890b /ttf.install
parentb150e83eac6b9dbf4526324d0d2cc457c8db3717 (diff)
downloadaur-7a27c4a359306db5c5ab026ed687f7563961eaa3.tar.gz
Remove calls redundant to pacman hooks from ttf.install
Diffstat (limited to 'ttf.install')
-rw-r--r--ttf.install11
1 files changed, 0 insertions, 11 deletions
diff --git a/ttf.install b/ttf.install
index 853f2d845c78..e4e77c3835d8 100644
--- a/ttf.install
+++ b/ttf.install
@@ -1,11 +1,3 @@
-_update_font_cache() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
_warn_11838() {
cat <<EOM
*** WARNING: due to cairo developers being lazy*, Unifont may display incorrectly
@@ -18,17 +10,14 @@ EOM
post_install() {
ln -fs ../conf.avail/20-unifont-noaa.conf /etc/fonts/conf.d
ln -fs ../conf.avail/20-unifont-upper.conf /etc/fonts/conf.d
- _update_font_cache
_warn_11838
}
post_remove() {
rm -f /etc/fonts/conf.d/20-unifont-noaa.conf
rm -f /etc/fonts/conf.d/20-unifont-upper.conf
- _update_font_cache
}
post_upgrade() {
- _update_font_cache
_warn_11838
}