mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
12a2b7302f
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
17 lines
519 B
Bash
17 lines
519 B
Bash
if [ -x /usr/bin/update-desktop-database ]; then
|
|
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
|
fi
|
|
|
|
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
|
|
fi
|
|
fi
|
|
|
|
if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then
|
|
( cd usr/share/fonts/TTF
|
|
/usr/bin/mkfontscale .
|
|
/usr/bin/mkfontdir . )
|
|
fi
|
|
|
|
[ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f
|