]> git.donarmstrong.com Git - deb_pkgs/scowl.git/blobdiff - debian/wamerican.postinst
[svn-inject] Applying Debian modifications to trunk
[deb_pkgs/scowl.git] / debian / wamerican.postinst
diff --git a/debian/wamerican.postinst b/debian/wamerican.postinst
new file mode 100644 (file)
index 0000000..8d8640f
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# wamerican can be installed standalone, with no dictionaries-common,
+# so use update-default-wordlist if present and do not complain
+# otherwise
+
+SCRIPT="/usr/sbin/update-default-wordlist"
+if [ "$1" = "configure" ] ; then
+    if [ -x "$SCRIPT" ]; then
+       $SCRIPT  --rebuild
+    fi
+fi
+
+#DEBHELPER#