From ce7a11871cc74cf3485411aa13bcf3b7710b106f Mon Sep 17 00:00:00 2001 From: Iskar Enev Date: Thu, 13 May 2010 00:38:28 +0200 Subject: network/transmission: Updated for version 1.82 --- network/transmission/doinst.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'network/transmission/doinst.sh') diff --git a/network/transmission/doinst.sh b/network/transmission/doinst.sh index 0039459a06..69d003d68b 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 -- cgit v1.2.3