postinst is in policyrcd-script-zg2 0.1-2.
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 | #!/bin/bash
set -e
case "$1" in
configure)
update-alternatives \
--install /usr/sbin/policy-rc.d policy-rc.d /usr/sbin/zg-policy-rc.d 10 \
--slave /usr/share/man/man8/policy-rc.d.8.gz policy-rc.d.8.gz /usr/share/man/man8/zg-policy-rc.d.8.gz
;;
esac
exit 0
|