This file is indexed.

postinst is in terminatorx 4.0.1-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
#!/bin/sh

set -e

action="$1"
oldversion="$2"

test -e /usr/share/debconf/confmodule && {
  . /usr/share/debconf/confmodule
    db_version 2.0
}

umask 022

db_get terminatorx/suid_bin
suid="$RET"

if ! dpkg-statoverride --list /usr/bin/terminatorX > /dev/null ; then
       if [ "$suid" = "false" ] ; then
               chmod 0755 /usr/bin/terminatorX
       elif [ "$suid" = "true" ] ; then
               chmod 4755 /usr/bin/terminatorX
       fi
fi

db_stop