summaryrefslogtreecommitdiff
path: root/system/sboui/doinst.sh
diff options
context:
space:
mode:
authorDaniel Prosser <dpross1100@msn.com>2018-11-29 21:55:13 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-01 07:27:51 +0700
commit3eff2e881187e1f6ac8af0a505eeebface9bab75 (patch)
tree8e071b1c6857339efccfde86f348e0dd843951ad /system/sboui/doinst.sh
parent638110f24603685f8f0d45dad8962de68ce42e39 (diff)
downloadslackbuilds-3eff2e881187e1f6ac8af0a505eeebface9bab75.tar.gz
system/sboui: Updated for version 2.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sboui/doinst.sh')
-rw-r--r--system/sboui/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/sboui/doinst.sh b/system/sboui/doinst.sh
index 338272d717..68000a3b0b 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