summaryrefslogtreecommitdiff
path: root/network/qTox/doinst.sh
diff options
context:
space:
mode:
authorMario Preksavec <mario at slackware dot hr>2015-04-24 23:06:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-24 23:06:30 +0700
commit64036616072e51960d00201e6adf76deab31f0fa (patch)
tree79588890f976d99eae0699893cfe3db5a84beb11 /network/qTox/doinst.sh
parent8d52fc92fd319ba7ac6fb4e922eff5fa98eaf8a5 (diff)
downloadslackbuilds-64036616072e51960d00201e6adf76deab31f0fa.tar.gz
network/qTox: Added (Qt Tox client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/qTox/doinst.sh')
-rw-r--r--network/qTox/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/qTox/doinst.sh b/network/qTox/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/network/qTox/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