summaryrefslogtreecommitdiff
path: root/network/qbittorrent/doinst.sh
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2010-07-22 20:51:57 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:40 -0500
commit95e9c5789ed9200eaaa7d694dca39794db2813d0 (patch)
tree88ba479d9b238515095110f428d7b797cf4fb7bf /network/qbittorrent/doinst.sh
parent7a977a29b22ff23041f68736ecda33142e41fa9a (diff)
downloadslackbuilds-95e9c5789ed9200eaaa7d694dca39794db2813d0.tar.gz
network/qbittorrent: Added (a C++ / Qt4 Bittorrent Client)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/qbittorrent/doinst.sh')
-rw-r--r--network/qbittorrent/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/network/qbittorrent/doinst.sh b/network/qbittorrent/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/network/qbittorrent/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