mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
16 lines
324 B
Bash
16 lines
324 B
Bash
|
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
|
||
|
|