This file is indexed.

preinst is in crm114 20100106-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
#!/bin/sh -e

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

if test "$action" = upgrade && dpkg --compare-versions "$oldversion" lt-nl 20090807; then
  . /usr/share/debconf/confmodule
  db_get crm114/forceupgrade
  if [ "$RET" != true ]; then
    db_reset crm114/cssupgrade
    db_input critical crm114/cssupgrade || true
    db_go || true
    db_get crm114/cssupgrade
    if [ "$RET" != true ]; then
      exit 1
    fi
  fi
fi