Hello Corey
I've analyzed those.
In preinst, below line there.
rm -rf /usr/share/openstack-dashboard/static/ || : rm -rf /var/lib/openstack-dashboard/static/ || :
it is not the same as
find /usr/share/openstack-dashboard/horizon/static/horizon/lib/ ! -name 'jquery.bootstrap.wizard.js' -delete || :
because /usr/share/openstack-dashboard/static is link to /usr/share/openstack-dahsboard/openstack_dashboard/static
I moved delete code to preinst instead of postinst(don't need to restart apache2 again)
Could you please review this?
Thanks a lot!
Hello Corey
I've analyzed those.
In preinst, below line there.
rm -rf /usr/share/ openstack- dashboard/ static/ || : openstack- dashboard/ static/ || :
rm -rf /var/lib/
it is not the same as
find /usr/share/ openstack- dashboard/ horizon/ static/ horizon/ lib/ ! -name 'jquery. bootstrap. wizard. js' -delete || :
because /usr/share/ openstack- dashboard/ static is link to /usr/share/ openstack- dahsboard/ openstack_ dashboard/ static
I moved delete code to preinst instead of postinst(don't need to restart apache2 again)
Could you please review this?
Thanks a lot!