aboutsummaryrefslogtreecommitdiff
path: root/misc/QCMA/doinst.sh
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2016-09-11 08:47:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:47:50 +0700
commit27263a16a97dac510a92fca07304a37a1c1135b5 (patch)
treeae555d1aae5f2b6e96955c32dc80f0266cd41890 /misc/QCMA/doinst.sh
parent19e269e26e794044093cf88f85db8e920aa8761b (diff)
misc/QCMA: Added (Cross-platform content manager assistant).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/QCMA/doinst.sh')
-rw-r--r--misc/QCMA/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/QCMA/doinst.sh b/misc/QCMA/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/misc/QCMA/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi