Copy static files for packaged installs

Packaged installs result in tuskar-ui compressed static files being
placed in /var/www/horizon/static/dashboard, alongside horizon static
files.  We need to copy them over to
/usr/share/openstack-dashboard/static/dashboard

Change-Id: I369cba710c01ee09584d6f3de1c9aa7195dfcb69
This commit is contained in:
Tzu-Mainn Chen 2014-10-28 14:27:39 +00:00
parent ea80de6467
commit 7c7e80679b
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ if [ -n "${HORIZON_VENV_DIR:-}" ]; then
set -u
else
cp $LOCAL_SETTINGS_FILE /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py
cp -r /var/www/horizon/static/dashboard/* /usr/share/openstack-dashboard/static/dashboard/
fi
os-svc-enable -n apache2