aboutsummaryrefslogtreecommitdiff
path: root/audio/deezer-desktop-for-linux/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-07-03 23:55:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-05 08:52:28 +0700
commit93d66eaaebae71090c5028385ea3b13df210fc1c (patch)
treee37a6d658fec66bb8f2fd53d27114332bb1c4fa8 /audio/deezer-desktop-for-linux/doinst.sh
parent8509036382592bb1ad35fa674da3ab94e89022a0 (diff)
audio/deezer-desktop-for-linux: Added (Deezer Desktop for Linux).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/deezer-desktop-for-linux/doinst.sh')
-rw-r--r--audio/deezer-desktop-for-linux/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/deezer-desktop-for-linux/doinst.sh b/audio/deezer-desktop-for-linux/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/audio/deezer-desktop-for-linux/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi