This file is indexed.

preinst is in freeradius-config 3.0.16+dfsg-1ubuntu3.

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
# vim:ts=2:sw=2:et

set -e

case "$1" in
  upgrade)
    # Delete any symlinks/files which were created in postinst previously.
    # These are not covered by conffile handling, so they would otherwise not
    # be cleaned up.
    for file in /etc/freeradius/certs/ca.pem \
                /etc/freeradius/certs/server.key \
                /etc/freeradius/certs/server.pem \
                /etc/freeradius/sites-enabled/default \
                /etc/freeradius/sites-enabled/inner-tunnel
    do
      if [ -h "$file" ]
      then
        rm -f "$file"
      fi
    done
    ;;
esac



exit 0