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 Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
ttf-kochi-substitute
/
ttf.install
blob
11c90e147097088a03a3dd87a5ecbcb1776e6462
1
2
post_install() {
3
echo -n "Updating font cache... "
4
fc-cache /usr/share/fonts/TTF
5
mkfontscale /usr/share/fonts/TTF
6
mkfontdir /usr/share/fonts/TTF
7
echo "done."
8
}
9
10
post_upgrade() {
11
post_install $1
12
}
13
14
post_remove() {
15
post_install $1
16
}
17
18
op=$1
19
shift
20
$op $*