preinst is in libzend-framework-php 1.12.20+dfsg-1ubuntu1.
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 | #!/bin/sh
set -e
case "$1" in
upgrade)
if dpkg --compare-versions "$2" lt "1.12.20+dfsg-1ubuntu1~"; then
if which phpdismod >/dev/null 2>&1; then
phpdismod zend-framework
fi
fi
;;
esac
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/php/7.0/mods-available/zend-framework.ini 1.12.20+dfsg-1ubuntu1~ -- "$@"
# End automatically added section
|