updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / wtorrent-svn / wtorrent.install
blob9c5792145b53cec1dadb7fd3cc8b3a082a57a8c4
1 # This is a default template for a post-install scriptlet.
2 # Uncomment only required functions and remove any functions
3 # you don't need (and this header).
5 _info()
7 cat << _EOF_
8  After install edit /etc/httpd/conf/httpd.conf and add next directive:
9   Include /etc/httpd/conf/extra/httpd-wtorrent.conf
10  and restart Apache. Also, mod_php and mod_scgi should be enabled.
12  Alternate you can try confgire lighttpd for work with wTorrent
13  instead Apache. Sorry I don't provide example configs for lighttpd now.
15  Go to http://localhost:port/wtorrent/install.php and configure wtorrent.
17  Don't forget uncomment pdo_sqlite and curl extensions in /etc/php/php.ini
18 _EOF_
21 ## arg 1:  the new package version
22 pre_install() {
23   # do something here
24   true
27 ## arg 1:  the new package version
28 post_install() {
29   _info
32 ## arg 1:  the new package version
33 ## arg 2:  the old package version
34 pre_upgrade() {
35   # do something here
36   true
39 ## arg 1:  the new package version
40 ## arg 2:  the old package version
41 post_upgrade() {
42   _info
45 ## arg 1:  the old package version
46 pre_remove() {
47   # do something here
48   true
51 ## arg 1:  the old package version
52 post_remove() {
53   # do something here
54   true
57 # vim:set ts=2 sw=2 et: