postinst is in povray 1:3.7.0.4-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 14 | #!/bin/sh
set -e
# Automatically added by dh_installdeb/10.10.9ubuntu1
dpkg-maintscript-helper mv_conffile /etc/povray/3.6/povray.ini /etc/povray/3.7/povray.ini 1:3.7\~ -- "$@"
dpkg-maintscript-helper mv_conffile /etc/povray/3.6/povray.conf /etc/povray/3.7/povray.conf 1:3.7\~ -- "$@"
# End automatically added section
if [ "$1" = "configure" ]; then
if [ -d /etc/povray/3.6 ]; then
rmdir --ignore-fail-on-non-empty /etc/povray/3.6
fi
fi
|