This file is indexed.

postinst is in oar-restful-api 2.5.7-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
30
31
32
33
34
#! /bin/sh
set -e
#set -x

. /usr/share/debconf/confmodule
. /usr/lib/oar/setup/api.sh

PACKAGE=oar-restful-api

case "$1" in
    configure)
        api_setup
        MSG="Please look at the README.Debian file of the package for instructions to finalize OAR API installation" 
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
            . /usr/share/apache2/apache2-maintscript-helper
            #apache2_invoke enconf oar-restful-api.conf || exit $?
            apache2_msg info "$MSG"
        else
            echo "$MSG"
        fi
        ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        ;;
    
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
        ;;
esac



exit 0