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 19 12:17:07 UTC 2012
[aur-mirror.git]
/
ttf-mona
/
ttf.install
blob
4f5212ef22ba721aaed8b49f976a57c28a5f93cb
1
post_install() {
2
echo -n "Updating font cache... "
3
fc-cache -f > /dev/null
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
20
$op $*