updated on Tue Jan 24 08:00:27 UTC 2012
[aur-mirror.git] / ttf-arabeyes-fonts / ttf-arabeyes-fonts.install
blob7d5202312c1b52a9aeb6367b764139da41c1f0fb
1 post_install() {
2   echo -n "rebuilding font cache... "
3   fc-cache /usr/share/fonts/TTF
4   mkfontscale /usr/share/fonts/TTF
5   mkfontdir /usr/share/fonts/TTF
6   echo "done."
9 post_upgrade() {
10   echo -n "rebuilding font cache... "
11   fc-cache /usr/share/fonts/TTF
12   mkfontscale /usr/share/fonts/TTF
13   mkfontdir /usr/share/fonts/TTF
14   echo "done."
17 pre_remove() {
18   /bin/true
21 # arg 1:  the old package version
22 post_remove() {
23   echo -n "rebuilding font cache... "
24   fc-cache /usr/share/fonts/TTF
25   mkfontscale /usr/share/fonts/TTF
26   mkfontdir /usr/share/fonts/TTF
27   echo "done."
30 op=$1
31 shift
33 $op $*