diff options
author | mrxx | 2021-10-12 11:23:34 +0200 |
---|---|---|
committer | mrxx | 2021-10-12 11:23:34 +0200 |
commit | 7a1a0a59b62eceb350cbcaed0e6fe7a3b50d7089 (patch) | |
tree | 8afa549276776bef3726c87eaca1b7c06bc01966 | |
parent | b229c523274045ad5843a3eb08e6d977af074a76 (diff) | |
download | aur-7a1a0a59b62eceb350cbcaed0e6fe7a3b50d7089.tar.gz |
Remove rebuild_font_cache from install script
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | ttf-vista-fonts.install | 31 |
3 files changed, 4 insertions, 32 deletions
@@ -1,7 +1,7 @@ pkgbase = ttf-vista-fonts pkgdesc = Microsoft Vista and Office 2007 True Type Fonts pkgver = 1 - pkgrel = 10 + pkgrel = 11 url = https://docs.microsoft.com/en-us/typography/fonts/font-faq install = ttf-vista-fonts.install arch = any @@ -14,4 +14,3 @@ pkgbase = ttf-vista-fonts sha256sums = 249473568eba7a1e4f95498acba594e0f42e6581add4dead70c1dfb908a09423 pkgname = ttf-vista-fonts - @@ -3,7 +3,7 @@ # Contributor: jnbek pkgname=ttf-vista-fonts pkgver=1 -pkgrel=10 +pkgrel=11 pkgdesc="Microsoft Vista and Office 2007 True Type Fonts" url="https://docs.microsoft.com/en-us/typography/fonts/font-faq" license=('custom:microsoft') 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 $* |