On Sat, 29 Nov 2014, Thomas Goirand wrote:

> 2/ in debian/openstack-dashboard.postinst, implement something like:
> if [ "$1" = "triggered" ] ; then
>       /usr/share/openstack-dashboard/manage.py compress --force
> fi
> Is it *that* simple?

No, triggers unfortunately are not that simple: if you install/upgrade
openstack-dashboard together with some of the packages it wants a
trigger on, $1="triggered" will sometimes not happen, only "configure".

Have a look at these:


The thing to call when triggered is the upgrade_mediawikis shell
function, it’s called from the “triggered” case, but also from
the regular “configure” case. This is suboptimal, but apparently

tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

Pkg-javascript-devel mailing list

Reply via email to