~ubuntu-server-dev/horizon/liberty

« back to all changes in this revision

Viewing changes to debian/openstack-dashboard-ubuntu-theme.postrm

  • Committer: james.page at ubuntu
  • Date: 2015-04-16 09:14:58 UTC
  • Revision ID: james.page@ubuntu.com-20150416091458-61el33j56b2fnrw6
*  Update Ubuntu theme for OpenStack Kilo (LP: #1443973).
  - d/theme/*: Refresh inline with new approach to theming in Kilo.
  - d/openstack-dashboard-ubuntu-theme.install|links: Install
    ubuntu_theme.py directly into the openstack_dashboard source tree
    instead of symlinking, supporting easier switching of themes.
    that theme changes are correctly detected and implemented.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
(
6
6
  cd /usr/share/openstack-dashboard
7
7
  echo "Collecting and compressing static assets..."
8
 
  # NOTE(jamespage): need to drop pyc file otherwise collect compress will
9
 
  #                  still try to use the ubuntu theme.
10
 
  rm -f /usr/share/openstack-dashboard/openstack_dashboard/local/ubuntu_theme.pyc
11
8
  rm -f /usr/share/openstack-dashboard/static/custom/* || :
12
9
  python manage.py collectstatic --noinput 2>&1 > /dev/null
13
10
  python manage.py compress --force 2>&1 > /dev/null