slackbuilds_ponce/system/vice/doinst.sh

17 lines
347 B
Bash
Raw Normal View History

2010-05-13 00:42:15 +02:00
# Update desktop icons
2010-05-12 17:46:14 +02:00
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
2010-05-13 00:42:15 +02:00
# 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