~corey.bryant/horizon/2015.1.0

« back to all changes in this revision

Viewing changes to debian/openstack-dashboard.postinst

  • Committer: james.page at ubuntu
  • Date: 2015-04-14 14:27:02 UTC
  • Revision ID: james.page@ubuntu.com-20150414142702-lzfl4tnlzjg63wwo
d/openstack-dashboard{-ubuntu-theme}.postinst|postrm: Purge 'custom'
folder prior to collecting and compressing static assets to ensure
that theme changes are correctly detected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  (
31
31
    cd /usr/share/openstack-dashboard
32
32
    echo "Collecting and compressing static assets..."
 
33
    rm -f /usr/share/openstack-dashboard/static/custom/* || :
33
34
    python manage.py collectstatic --noinput 2>&1 > /dev/null
34
35
    python manage.py compress --force 2>&1 > /dev/null
35
36
  )