summaryrefslogtreecommitdiff
path: root/network/viber/doinst.sh
diff options
context:
space:
mode:
authorRoberto Metere <roberto.metere@gmail.com>2014-10-22 08:05:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-22 08:33:57 +0700
commit8336c7a9f742ab691a45903778372dd3d155e2d4 (patch)
tree0b939c9810b04b68c632c2d60359eda96c558b02 /network/viber/doinst.sh
parentb212212436987ff6d695516cd0e6346c110639be (diff)
downloadslackbuilds-8336c7a9f742ab691a45903778372dd3d155e2d4.tar.gz
network/viber: Added (mobile application).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/viber/doinst.sh')
-rw-r--r--network/viber/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/viber/doinst.sh b/network/viber/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/network/viber/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