updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / patchfork-git / patchfork.install
blobcbe3dd384b2f1929860bee5e8b03bd6698640334
1 post_install() {
2 cat << _EOF
3 ==> patchfork: important installation notes:
4     ----------------------------------------
5     Add this line to your /etc/httpd/conf/httpd.conf:
6     Include /etc/httpd/conf/extra/patchfork.conf
7     To disable excessive logging, you should add env=!patchforknolog to
8     the CustomLog directive, so that it should read something like this:
9     CustomLog /var/log/httpd/access_log combined env=!patchforknolog
10     Also make sure php is enabled by uncommenting this line in your
11     /etc/httpd/conf/httpd.conf:
12     LoadModule php5_module             modules/libphp5.so
14 _EOF
18 post_upgrade() {
19   post_install
22 post_remove() {
23 cat << _EOF
24 ==> patchfork: important uninstallation notes:
25     ------------------------------------------
26     Make sure this line does not exist or is commented
27     in your /etc/httpd/conf/httpd.conf file:
28     #Include /etc/httpd/conf/extra/patchfork.conf
29     Also you can safely remove any env=!patchforknolog
30     that could occur in the CustomLog directive.
32 _EOF
36 op=$1
37 shift
38 $op $*