* Compress the CSS and JS during the postinst (Closes: #739698)
* Add mysql in Uploaders
* Bump standard version, no change needed
+ * Turns COMPRESS_OFFLINE to True since we now pre-compress the
+ CSS and the JS
+ * Add call "manage.py compress" with the --force parameter to avoid
+ a warning an harmless warning for the user.
[ Thomas Goirand ]
* New upstream release (Icehouse beta 1).
chown www-data:www-data /var/lib/openstack-dashboard/secret-key
# Compress the JS and CSS with python-compressor and python-lesscpy
- /usr/share/openstack-dashboard/manage.py compress
+ /usr/share/openstack-dashboard/manage.py compress --force
fi
#DEBHELPER#
$(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py
sed -i -e 's/SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH,/SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' \
$(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py
+ echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py
cp $(CURDIR)/manage.py \
$(CURDIR)/debian/tmp/usr/share/openstack-dashboard/