Comment 2 for bug 1536240

Revision history for this message
JohnsonYi (yichengli) wrote :

I added two lines to postinst script to fix it, so that I can rebuild the package and install it.

...

# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
        pycompile -p openstack-dashboard /usr/share/openstack-dashboard
fi

# Change owner for /usr/share/openstack-dashboard
chown -R horizon:horizon /usr/share/openstack-dashboard

# End automatically added section