/usr/share/debhelper/autoscripts/postinst-dzextension is in zope-debhelper 0.3.15.
This file is owned by root:root, with mode 0o644.
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 | if which dzhandle >/dev/null; then
case "$1" in configure|abort-upgrade|abort-remove)
# configure:
# - install extension in instances with addon-mode all,
# and in which the extension is upgraded
# - unregister extension as beeing upgraded
# abort-upgrade: (from old postinst)
# - re-add extension to instances, where it was removed from
# - unregister extension as beeing upgraded
# abort-remove:
# - re-add extension to instances, where it was removed from
# - unregister extension as beeing removed
dzhandle postinst-extension -m "$*" #DZ-DIR#
esac
fi
|