aboutsummaryrefslogtreecommitdiff
path: root/desktop/awf/doinst.sh
diff options
context:
space:
mode:
authorLeo C <leoc@gmx.com>2017-09-17 18:37:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-17 20:29:50 +0700
commite54fc668cb46703d6149b10c8bcfbbd95a4c7ce0 (patch)
tree8de76f821761de2aae9664e4423dfdae2a52c6ce /desktop/awf/doinst.sh
parent23f34861a66f0e877eb0589d97f61db0fb444168 (diff)
desktop/awf: Added (A Widget Factory).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/awf/doinst.sh')
-rw-r--r--desktop/awf/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/awf/doinst.sh b/desktop/awf/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/desktop/awf/doinst.sh
@@ -0,0 +1,9 @@
+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