debian/wamerican.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | . /usr/share/debconf/confmodule |
| 6 | |
| 7 | # wamerican can be installed standalone, with no dictionaries-common, |
| 8 | # so use update-default-wordlist if present and do not complain |
| 9 | # otherwise |
| 10 | |
| 11 | SCRIPT="/usr/sbin/update-default-wordlist" |
| 12 | |
| 13 | if [ "$1" = "configure" ] ; then |
| 14 | if [ -x "$SCRIPT" ]; then |
| 15 | $SCRIPT --rebuild |
| 16 | fi |
| 17 | fi |
| 18 | |
| 19 | #DEBHELPER# |