preinst is in openstack-dashboard 1:2014.1-0ubuntu1.
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 | #!/bin/sh
# vim: set ts=2 et:
set -e
# /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 -- "$@"
# Transition config to apache 2.4 compatable location.
dpkg-maintscript-helper mv_conffile \
/etc/apache2/conf.d/openstack-dashboard.conf \
/etc/apache2/conf-available/openstack-dashboard.conf \
1:2013.2~b2-0ubuntu3 -- "$@"
|