diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2010-04-18 05:55:06 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2010-04-18 05:55:06 (GMT) |
commit | d4589eee8998a168eaa79af7a04d82faac1a738d (patch) | |
tree | 731625204f3902bb9b5f7a8a492c6b8fcc09c915 /abs/extra-testing/community/transmission-cli/transmission-cli.install | |
parent | 5106977528d3d26919263bf62d504035a7720633 (diff) | |
parent | 787f13cd63c75c9c5090c10c0e888f48a59c0e49 (diff) | |
download | linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.zip linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.tar.gz linhes_pkgbuild-d4589eee8998a168eaa79af7a04d82faac1a738d.tar.bz2 |
Merge branch 'master' of ssh://gregfrost@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/community/transmission-cli/transmission-cli.install')
-rw-r--r-- | abs/extra-testing/community/transmission-cli/transmission-cli.install | 23 |
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 +} |