This file is indexed.

postinst is in boa 0.94.14rc21-5.

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
#! /bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin

set -e

if [ -e /etc/cron.daily/boa ]; then
  echo 'conffile /etc/cron.daily/boa exists.  New functionality is in /etc/logrotate.d/boa.'
  if test `md5sum /etc/cron.daily/boa | awk '{print $1}'` = '5e05937798a45a32ed7bf03e596d1427'; then
    echo '/etc/cron.daily/boa not modified -- Removing /etc/cron.daily/boa'
    rm -f /etc/cron.daily/boa
  else
    echo '/etc/cron.daily/boa modified -- Moving to /etc/cron.daily/boa.obsolete'
    mv -f /etc/cron.daily/boa /etc/cron.daily/boa.obsolete
  fi
fi

# Automatically added by dh_installinit
if [ -x "/etc/init.d/boa" ] || [ -e "/etc/init/boa.conf" ]; then
	if [ ! -e "/etc/init/boa.conf" ]; then
		update-rc.d boa defaults >/dev/null
	fi
	invoke-rc.d boa start || true
fi
# End automatically added section


exit 0