summarylogtreecommitdiffstats
path: root/utorrent.install
diff options
context:
space:
mode:
authorDet2015-06-14 04:13:28 +0300
committerDet2015-06-14 04:14:16 +0300
commit42ed7522633469b0852f01c660f9d5a92a29fe72 (patch)
treea112d27ebe0a197e6f4a2ef14f26d2739b560828 /utorrent.install
downloadaur-42ed7522633469b0852f01c660f9d5a92a29fe72.tar.gz
Initial import: 3.4.3.40298-1
Diffstat (limited to 'utorrent.install')
-rw-r--r--utorrent.install21
1 files changed, 21 insertions, 0 deletions
diff --git a/utorrent.install b/utorrent.install
new file mode 100644
index 000000000000..3785add74aaf
--- /dev/null
+++ b/utorrent.install
@@ -0,0 +1,21 @@
+_update() {
+ xdg-icon-resource forceupdate --theme hicolor
+ update-desktop-database -q
+}
+
+post_install() {
+ _update
+ echo ":: uTorrent locates in ~/.uTorrent/"
+ echo ":: For compatiblity info, see: https://appdb.winehq.org/objectManager.php?sClass=version&iId=22031"
+ echo ":: To make uTorrent the default torrent application:
+ $ xdg-mime default uTorrent.desktop application/x-bittorrent x-scheme-handler/magnet
+ (see: https://wiki.archlinux.org/index.php/Xdg-open)"
+}
+
+post_upgrade() {
+ _update
+}
+
+post_remove() {
+ _update
+}