This file is indexed.

preinst is in ssmtp 2.64-8ubuntu2.

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
#!/bin/sh

set -e

if test -s /etc/ssmtp.conf
then
	echo "Configuration files found in /etc, moving them to /etc/ssmtp"

	mkdir /etc/ssmtp 2>/dev/null || true
	mv -f /etc/ssmtp.conf /etc/ssmtp 2>/dev/null || true

fi

if test -s /etc/revaliases
then
	mkdir /etc/ssmtp 2>/dev/null || true
	mv -f /etc/revaliases /etc/ssmtp 2>/dev/null || true
fi

# Program End
exit 0