summaryrefslogtreecommitdiff
path: root/network/gtorrentviewer/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-12-14 23:51:58 -0200
committerErik Hanson <erik@slackbuilds.org>2010-12-17 07:56:47 -0600
commit27b32686b0e44b05f6e1f3256119018b0ac7f631 (patch)
treef7ff168f5f6632d57f9bc2692afebb3c8ebdd270 /network/gtorrentviewer/doinst.sh
parent571a8db878b31e5c7632b49d52cf65dc9b3f01f1 (diff)
downloadslackbuilds-27b32686b0e44b05f6e1f3256119018b0ac7f631.tar.gz
network/gtorrentviewer Added (A torrent viewer and editor)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/gtorrentviewer/doinst.sh')
-rw-r--r--network/gtorrentviewer/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/network/gtorrentviewer/doinst.sh b/network/gtorrentviewer/doinst.sh
new file mode 100644
index 0000000000..e4e6459838
--- /dev/null
+++ b/network/gtorrentviewer/doinst.sh
@@ -0,0 +1,8 @@
+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
+