postinst is in openstack-dashboard 2012.1.3+stable~20120815-691dd2-0ubuntu1.1.
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 | #!/bin/sh
set -e
if [ "$1" = "configure" ]; then
# /etc/apache2/conf.d/dashboard.conf -> /etc/apache2/conf.d/openstack-dashboard.conf
dpkg-maintscript-helper mv_conffile \
/etc/apache2/conf.d/dashboard.conf /etc/apache2/conf.d/openstack-dashboard.conf \
2012.1~rc1-0ubuntu1 -- "$@"
if [ -x /etc/init.d/apache2 ]; then
invoke-rc.d --quiet apache2 reload
fi
fi
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p openstack-dashboard /usr/share/openstack-dashboard
fi
# End automatically added section
|