summaryrefslogtreecommitdiffstats
path: root/desktop/variety/doinst.sh
diff options
context:
space:
mode:
author Rodrigo Gimenez <estrod[at]zoho[dot]com>2017-05-04 18:29:07 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-06 07:03:44 +0700
commitf105fc71871323283449bc2f41429c91978449a6 (patch)
tree24aa88bd1e5109c0ff8e0d0834e54bbe805325cf /desktop/variety/doinst.sh
parent5008d6f617332cda99088b922cd9a526a21446aa (diff)
downloadslackbuilds-f105fc71871323283449bc2f41429c91978449a6.tar.gz
slackbuilds-f105fc71871323283449bc2f41429c91978449a6.tar.xz
desktop/variety: Added (python library).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/variety/doinst.sh')
-rw-r--r--desktop/variety/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/variety/doinst.sh b/desktop/variety/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/desktop/variety/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