aboutsummaryrefslogtreecommitdiff
path: root/desktop/pytyle/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-07-26 07:59:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 06:03:36 +0700
commitda33ac50b833eeef66683e8271a3f4dd3e0e2991 (patch)
treec1683d5ed8cecc87e3e08b20a1a51965f9fd3f30 /desktop/pytyle/doinst.sh
parent1a2acc95def0f281f42e4796bd8b0720ef5aa2a4 (diff)
desktop/pytyle: Added (extensible tiling manager).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/pytyle/doinst.sh')
-rw-r--r--desktop/pytyle/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/desktop/pytyle/doinst.sh b/desktop/pytyle/doinst.sh
new file mode 100644
index 000000000000..9424ce43ff57
--- /dev/null
+++ b/desktop/pytyle/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi