postinst is in phppgadmin 5.1-1.
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 | #! /bin/sh
set -e
if [ "$1" = configure ]; then
test ! -e /etc/init.d/apache2 || invoke-rc.d apache2 reload
fi
# conffile converted from symlink to plain file in 5.0.3-2
if test -x /usr/bin/dpkg-maintscript-helper && dpkg-maintscript-helper supports mv_conffile 2>/dev/null ; then
dpkg-maintscript-helper mv_conffile /etc/phppgadmin/apache.conf /etc/apache2/conf.d/phppgadmin 5.0.3-1 -- "$@"
fi
|