summaryrefslogtreecommitdiff
path: root/community/antiword/antiword.install
blob: 58aaccde7abf4ab939fdd666ec25d9fe519c248b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install()
{
  cat << EOF
NOTES On Antiword Integration:

* If you use mozplugger, make sure to configure the
  msword section like so (replacing <TERMINAL> with your
  terminal of choice):
      application/msword: doc, dot: Microsoft Word Document
                ignore_errors exits: antiword-helper <TERMINAL> "$file"

* To properly use antiword in your mailcap settings:
      application/msword; antiword %s; copiousoutput

* To enable drag-and-drop support in KDE, use the kantiword script
EOF
}

post_upgrade()
{
  post_install $1
}

op=$1
shift
$op $*