summarylogtreecommitdiffstats
path: root/ttf-vista-fonts.install
diff options
context:
space:
mode:
Diffstat (limited to 'ttf-vista-fonts.install')
-rw-r--r--ttf-vista-fonts.install31
1 files changed, 2 insertions, 29 deletions
diff --git a/ttf-vista-fonts.install b/ttf-vista-fonts.install
index a4f10ce1edaa..06a72546ccca 100644
--- a/ttf-vista-fonts.install
+++ b/ttf-vista-fonts.install
@@ -1,7 +1,6 @@
post_install() {
- rebuild_font_cache
- echo
- echo
+ echo
+ echo
echo "######################################################################"
echo "# #"
echo "# LICENSE AGREEEMENT for ttf-vista-fonts #"
@@ -13,29 +12,3 @@ post_install() {
echo "######################################################################"
echo
}
-
-post_upgrade() {
- rebuild_font_cache
-}
-
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- rebuild_font_cache
-}
-
-rebuild_font_cache() {
- echo -n "Rebuilding font cache... "
- fc-cache /usr/share/fonts/TTF
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-op=$1
-shift
-
-$op $*