aboutsummaryrefslogtreecommitdiff
path: root/network/deluge/doinst.sh
diff options
context:
space:
mode:
authorStylianos Tsampas <ztsampas@otenet.gr>2010-05-11 22:54:43 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:54:43 +0200
commit56562396e7a7d0b151cdb1ef2442a85d30a38957 (patch)
tree2634594e31a541b2d8e93babc5d4ee287e8d3f2d /network/deluge/doinst.sh
parent669e6aaf073ee535bc743a5b7518d9d2a1657a59 (diff)
network/deluge: Added to 12.1 repository
Diffstat (limited to 'network/deluge/doinst.sh')
-rw-r--r--network/deluge/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/network/deluge/doinst.sh b/network/deluge/doinst.sh
new file mode 100644
index 0000000000000..a2088524c338e
--- /dev/null
+++ b/network/deluge/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database 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
+
+if [ -x /usr/bin/gtk-update-icon-cache ] \
+ && [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+fi
+