This file is indexed.

postinst is in calamaris 2.99.4.5-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
#! /bin/sh 
set -e

if [ ! "$2" = "" ]; then
  if [ "$1" = "configure" ]; then
    if `dpkg --compare-versions $2 lt 2.30`; then
      for j in 0 1 2 3 4 5 6; do
        if [ -e /var/log/calamaris/daily.$j ]; then
	  mv /var/log/calamaris/daily.$j /var/log/calamaris/forweekly.$j
	fi
      done
    fi
  fi
fi

# Source debconf library.
. /usr/share/debconf/confmodule