File: postinst.in

package info (click to toggle)
dictionaries-common 1.31.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,136 kB
  • sloc: lisp: 5,521; perl: 3,163; sh: 199; makefile: 179
file content (11 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
[IW:. /usr/share/debconf/confmodule
:IW]SCRIPT="update-[A:dictcommon-aspell:A][H:dictcommon-hunspell:H][I:default-ispell:I][W:default-wordlist:W]"

if [ "$1" = "configure" ] ; then
    if command -v $SCRIPT >/dev/null; then
	$SCRIPT  [IW:--rebuild:IW]
    else
	echo "Error: $SCRIPT not present or executable. Missing dependency on dictionaries-common?" >&2
	exit 1
    fi
fi