preinst is in libapache2-mod-svn 1.9.3-2ubuntu1.
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
case "$1" in
    install | upgrade)
        # The transition from dav_svn.load with authz_svn_module in it,
        # to a separate .load file, happened in 1.6.17dfsg-2.  Here we
        # signal the postinst, with a temp file, to enable authz_svn.
        if grep -q '^LoadModule  *authz_svn_module' \
                   /etc/apache2/mods-enabled/dav_svn.load 2>/dev/null; then
            touch '/etc/apache2/#enable_authz_svn#'
        fi
        ;;
esac
 |