This file is indexed.

postinst is in lyskom-elisp-client 0.48+git.20140815.afa49c26-3.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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
27
28
29
#!/bin/sh

set -e

case "$1" in
    configure)
        # Load debconf library.
        . /usr/share/debconf/confmodule

        db_get lyskom-elisp-client/server-list-query
        if [ "$RET" = "true" ]; then
            foo=english
        else
            foo=full
        fi
        ln -sf ${foo}serverlist.el /usr/share/emacs/site-lisp/lyskom-elisp-client/serverlist.el

        /usr/lib/emacsen-common/emacs-package-install lyskom-elisp-client
        ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        exit 0
        ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 0
        ;;
esac