postinst is in libpuzzle-php 0.9-6.
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 | #!/bin/sh
#
# postinst script for libpuzzle-php
#
set -e
if which dpkg-maintscript-helper >/dev/null && dpkg-maintscript-helper supports mv_conffile ; then
dpkg-maintscript-helper mv_conffile \
/etc/php5/conf.d/libpuzzle.ini /etc/php5/mods-available/libpuzzle.ini \
0.9-4.1+b1 -- "$@"
fi
if [ "$1" = "configure" ]; then
if which php5dismod >/dev/null ; then
php5enmod libpuzzle
fi
fi
exit 0
|