aboutsummaryrefslogtreecommitdiff
path: root/network/yandex-browser-beta/doinst.sh
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-07-23 19:00:36 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-07-23 19:00:36 +0100
commit8de16802cd64a6a759b5d57241539cb922494c5e (patch)
tree330a23fd9b96db62046f6bac0d54a94313469fa2 /network/yandex-browser-beta/doinst.sh
parentae8c4bbcee5d0346ee3430d9fdd8328c5fe54765 (diff)
network/yandex-browser-beta: Added (The web browser from Yandex).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/yandex-browser-beta/doinst.sh')
-rw-r--r--network/yandex-browser-beta/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/yandex-browser-beta/doinst.sh b/network/yandex-browser-beta/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/network/yandex-browser-beta/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