postinst is in libapache2-mod-svn 1.8.8-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
set -e
case "$1" in
configure)
if [ -f '/etc/apache2/#enable_authz_svn#' ]; then
# Enable on upgrades where this used to be implied by dav_svn.load
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod authz_svn
rm -f '/etc/apache2/#enable_authz_svn#'
fi
fi
;;
esac
# Automatically added by dh_apache2
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in dav_svn authz_svn ; do
apache2_invoke enmod $conf || exit $?
done
fi
fi
# End automatically added section
|