aboutsummaryrefslogtreecommitdiff
path: root/network/transmission/doinst.sh
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev[@]gmail.com>2010-05-13 00:38:28 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:38:28 +0200
commitce7a11871cc74cf3485411aa13bcf3b7710b106f (patch)
tree893ea2683fadaf2e97c565e67d9b319d29c3d312 /network/transmission/doinst.sh
parent3be86dfb0f559ae557987a0ba6148307fd6c183b (diff)
network/transmission: Updated for version 1.82
Diffstat (limited to 'network/transmission/doinst.sh')
-rw-r--r--network/transmission/doinst.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/network/transmission/doinst.sh b/network/transmission/doinst.sh
index 0039459a06503..69d003d68bdce 100644
--- a/network/transmission/doinst.sh
+++ b/network/transmission/doinst.sh
@@ -1,3 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+ /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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi