repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git]
/
mikachanfont
/
ttf.install
blob
5c7ce457d78d63326e9a96d43e6e549840e8d39f
1
post_install() {
2
echo -n "Updating font cache... "
3
fc-cache /usr/share/fonts/TTF
4
mkfontscale /usr/share/fonts/TTF
5
mkfontdir /usr/share/fonts/TTF
6
echo "done."
7
}
8
9
post_upgrade() {
10
post_install $1
11
}
12
13
post_remove() {
14
post_install $1
15
}
16
17
op=$1
18
shift
19
$op $*