This file is indexed.

preinst is in sysstat 10.0.3-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
#! /bin/sh
# vim:ts=4:et
# $Id: sysstat.preinst,v 1.1 2007-03-28 21:38:17 robert Exp $

set -e

SYSSTAT_CONF_DIR=/etc/sysstat

# made the config file name match that one used by the upstream
if [ "$1" = "upgrade" ] && 
    [ -e ${SYSSTAT_CONF_DIR}/config ] && 
    [ ! -e ${SYSSTAT_CONF_DIR}/sysstat ] &&
    dpkg --compare-versions "$2" lt-nl "7.1.3-1"; then
        mv -f ${SYSSTAT_CONF_DIR}/config ${SYSSTAT_CONF_DIR}/sysstat
fi        




exit 0