summaryrefslogtreecommitdiffstats
path: root/network/riot-web/doinst.sh
diff options
context:
space:
mode:
author David O'Shaughnessy2018-03-18 04:33:56 +0100
committer Willy Sudiarto Raharjo2018-03-24 00:50:30 +0100
commitf8eaf43e162bcada706e8c94051e72900cb1d692 (patch)
treea39646d2cc24164323e2923b2b2e1aa41f2e0d4a /network/riot-web/doinst.sh
parent9e1f680bf5ca99ffe4dd0c0777655a718088cfff (diff)
downloadslackbuilds-f8eaf43e162bcada706e8c94051e72900cb1d692.tar.gz
network/riot-web: Added (Riot for Desktop).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/riot-web/doinst.sh')
-rw-r--r--network/riot-web/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/riot-web/doinst.sh b/network/riot-web/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/riot-web/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