summaryrefslogtreecommitdiff
path: root/network/nicotine+/doinst.sh
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2017-02-08 21:21:46 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:43 +0700
commit7345152def2886e43c7fad8028ed0d68ae7f5012 (patch)
treef56b8cb6b20b1955b54f2abfcb31c5dfc7801f00 /network/nicotine+/doinst.sh
parentcb8fe4514519287d42d0d8046761b65cc63d8f5d (diff)
downloadslackbuilds-7345152def2886e43c7fad8028ed0d68ae7f5012.tar.gz
network/nicotine+: Updated for version 1.4.0.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'network/nicotine+/doinst.sh')
-rw-r--r--network/nicotine+/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/network/nicotine+/doinst.sh b/network/nicotine+/doinst.sh
index 4e8ba7071d..4a25de5e6f 100644
--- a/network/nicotine+/doinst.sh
+++ b/network/nicotine+/doinst.sh
@@ -2,3 +2,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
+