summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/transmission-cli/transmission-cli.install
blob: 088ecc66bdcd2586a6324c640ac3711e81f9c545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install() {
  /bin/echo 'include "/etc/transmission/transmission.include"' >> /etc/lighttpd/conf.include
  killall -HUP lighttpd  

  add_service.sh transmissiond

  cat << _EOF

  You can edit the user and options in /etc/conf.d/transmissiond.

  To access the web interface:
  http://localhost/transmission

  Configuration file editing information can be found at:
  http://trac.transmissionbt.com/wiki/ConfigFiles

_EOF

}

pre_upgrade() {
  rm -f /usr/share/man/man1/transmission*

}

pre_remove() {
  remove_service.sh transmissiond
}