diff options
Diffstat (limited to 'system/sboui/doinst.sh')
-rw-r--r-- | system/sboui/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/system/sboui/doinst.sh b/system/sboui/doinst.sh index 338272d71790..68000a3b0b1a 100644 --- a/system/sboui/doinst.sh +++ b/system/sboui/doinst.sh @@ -13,3 +13,13 @@ config() { config etc/sboui/sboui.conf.new config etc/sboui/sboui-backend.conf.new config etc/sboui/package_blacklist.new + +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 |