+horizon (1:2015.1.0-1~u14.04+mos4) mos7.0; urgency=medium
+
+ * Compile l10n strings at post-install
+ add new dependency: gettext
+
+ -- Vasyl Saienko <vsaienko@mirantis.com> Thu, 04 Jun 2015 22:27:30 +0200
+
horizon (1:2015.1.0-1~u14.04+mos3) mos7.0; urgency=medium
* Fix python-oslo-* naming scheme
/etc/apache2/conf-available/$CONF \
1:2013.2~b2-0ubuntu3 -- "$@"
- if ! getent group horizon > /dev/null 2>&1
- then
- addgroup --system horizon >/dev/null
- fi
- if ! getent passwd horizon > /dev/null 2>&1
- then
- adduser --system --home /usr/share/openstack-dashboard/ --ingroup horizon \
- --no-create-home --shell /bin/false horizon
- fi
+ if ! getent group horizon > /dev/null 2>&1
+ then
+ addgroup --system horizon >/dev/null
+ fi
+ if ! getent passwd horizon > /dev/null 2>&1
+ then
+ adduser --system --home /usr/share/openstack-dashboard/ --ingroup horizon \
+ --no-create-home --shell /bin/false horizon
+ fi
(
cd /usr/share/openstack-dashboard
/usr/share/openstack-dashboard/openstack_dashboard/static
fi
+ if [ -d /usr/share/openstack-dashboard/openstack_dashboard/locale -a -e /usr/share/openstack-dashboard/manage.py ] ; then
+ curdir=$(pwd)
+ cd /usr/share/openstack-dashboard/openstack_dashboard
+ python ../manage.py compilemessages
+ cd "${curdir}"
+ else
+ echo "Couldn't compile Django l10n strings (.mo files)"
+ fi
+
if [ -d /etc/openstack-dashboard/ ] ; then
chown horizon:horizon /etc/openstack-dashboard/
fi