summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/transmission-cli/transmission-cli.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/community/transmission-cli/transmission-cli.install')
-rw-r--r--abs/extra-testing/community/transmission-cli/transmission-cli.install23
1 files changed, 16 insertions, 7 deletions
diff --git a/abs/extra-testing/community/transmission-cli/transmission-cli.install b/abs/extra-testing/community/transmission-cli/transmission-cli.install
index d69601d..088ecc6 100644
--- a/abs/extra-testing/community/transmission-cli/transmission-cli.install
+++ b/abs/extra-testing/community/transmission-cli/transmission-cli.install
@@ -1,19 +1,28 @@
post_install() {
+ /bin/echo 'include "/etc/transmission/transmission.include"' >> /etc/lighttpd/conf.include
+ killall -HUP lighttpd
+
+ add_service.sh transmissiond
+
cat << _EOF
- If you want to run the Transmission daemon at boot,
- run add_service.sh transmissiond as root.
-
You can edit the user and options in /etc/conf.d/transmissiond.
- There is a lot of good information on setting up a web
- interface proxy through lighttpd at:
- http://mybookworld.wikidot.com/transmission
+ 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
+}