summaryrefslogtreecommitdiff
path: root/system/vice/doinst.sh
diff options
context:
space:
mode:
authorMauro Giachero <mauro dot giachero at gmail dot com>2010-05-13 00:42:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:42:15 +0200
commit8d1d8aa9a5801d5e80fb6e1a2d0fcadc8db90865 (patch)
treebee85caa76bfdc8dbe5aed8db7e916acf5ed0b76 /system/vice/doinst.sh
parent75eab98f49268caa39cde60f1677f56d9bbd7b4f (diff)
downloadslackbuilds-8d1d8aa9a5801d5e80fb6e1a2d0fcadc8db90865.tar.gz
system/vice: Updated for version 2.1
Diffstat (limited to 'system/vice/doinst.sh')
-rw-r--r--system/vice/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/vice/doinst.sh b/system/vice/doinst.sh
index 5fb28930db..8095c47d9b 100644
--- a/system/vice/doinst.sh
+++ b/system/vice/doinst.sh
@@ -1,3 +1,16 @@
+# Update desktop icons
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+