This file is indexed.

postinst is in jazip 0.34-15.1.

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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
#
# postinst script for the jazip package

set -e

case "$1" in
    configure)

        # De-installation in prerm is created by dh_installdocs
#	if [ -d /usr/doc -a ! -e /usr/doc/jazip -a -d /usr/share/doc/jazip ]; then
#		ln -sf ../share/doc/jazip /usr/doc/jazip
#	fi

#       if ! grep -q \^jazip: /etc/group; then
#           adduser --group jazip 
#       fi

# This block commented-out at version 0.33-3
#        if [ -x /usr/sbin/suidregister ]; then
#           suidregister -s jazip /usr/bin/jazip root floppy 4754
#        else       
#            chown root.floppy /usr/bin/jazip
#            chmod 4754 /usr/bin/jazip
#        fi

#        if [ -x /usr/bin/update-menus ] ; then update-menus ; fi

        if [ ! -f /etc/jazip.conf ]; then 
            jazipconfig --non-interactive

            . /usr/share/debconf/confmodule
#           echo "*** Important notice for package jazip ***"
#           echo "Users must be added to the 'floppy' group to allow access"
#           echo "to the jazip program."
#           echo "See /usr/doc/jazip/README.Debian and adduser(1)."
        fi
        ;;

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

# Automatically added by dh_installmenu
if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
	update-menus
fi
# End automatically added section