82 | | {{{ |
83 | | cp YOUR_SOURCE_DIR/searchattachmentsplugin/0.10/trac-seat /path/to/your/env/index |
84 | | cd /path/to/your/env/index |
85 | | chmod +x trac-seat |
86 | | ./trac-seat /path/to/your/env meta |
87 | | ./trac-seat /path/to/your/env index -c |
88 | | cd .. |
89 | | chown -R apache:apache /path/to.your/env/index |
| 82 | {{{#!sh |
| 83 | cp YOUR_SOURCE_DIR/searchattachmentsplugin/0.10/trac-seat /path/to/your/env/index |
| 84 | cd /path/to/your/env/index |
| 85 | chmod +x trac-seat |
| 86 | ./trac-seat /path/to/your/env meta |
| 87 | ./trac-seat /path/to/your/env index -c |
| 88 | cd .. |
| 89 | chown -R apache:apache /path/to.your/env/index |
101 | | [attachment] |
102 | | ... |
103 | | # This is the path to the swish-e command on your system |
104 | | swish = /usr/local/bin/swish-e |
105 | | seat = /path/to/your/env/trac-seat |
106 | | |
107 | | # The first %s is the absolute path of the input file. |
108 | | # The second %s is the absolute path of the text file generated by the command. |
109 | | filter.doc = /usr/local/bin/catdoc -b "%s" > "%s" |
110 | | filter.ppt = /usr/local/bin/catppt "%s" > "%s" |
111 | | filter.pdf = /usr/bin/pdftotext "%s" "%s" |
| 106 | # The first %s is the absolute path of the input file. |
| 107 | # The second %s is the absolute path of the text file generated by the command. |
| 108 | filter.doc = /usr/local/bin/catdoc -b "%s" > "%s" |
| 109 | filter.ppt = /usr/local/bin/catppt "%s" > "%s" |
| 110 | filter.pdf = /usr/bin/pdftotext "%s" "%s" |