[Debian-l10n-commits] r2374 - in /pootle/trunk/debian: changelog pootle.postinst
bubulle at users.alioth.debian.org
bubulle at users.alioth.debian.org
Fri Aug 27 05:58:26 UTC 2010
Author: bubulle
Date: Fri Aug 27 05:58:24 2010
New Revision: 2374
URL: http://svn.debian.org/wsvn/?sc=1&rev=2374
Log:
Run update-python-modules before invoking django-admin
Modified:
pootle/trunk/debian/changelog
pootle/trunk/debian/pootle.postinst
Modified: pootle/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/changelog?rev=2374&op=diff
==============================================================================
--- pootle/trunk/debian/changelog (original)
+++ pootle/trunk/debian/changelog Fri Aug 27 05:58:24 2010
@@ -1,7 +1,15 @@
+pootle (2.0.5-1) UNRELEASED; urgency=medium
+
+ * Run update-python-modules before invoking django-admin
+ Closes: #591599
+
+ -- Christian Perrier <bubulle at debian.org> Fri, 27 Aug 2010 07:56:07 +0200
+
pootle (2.0.5-0.1) unstable; urgency=low
* Non-maintainer upload with maintainer's agreement
* New upstream version. Closes: #589299
+ * Bump quilt build dependency to (>= 0.46-7~)
-- Christian Perrier <bubulle at debian.org> Fri, 23 Jul 2010 22:23:57 +0200
Modified: pootle/trunk/debian/pootle.postinst
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/pootle.postinst?rev=2374&op=diff
==============================================================================
--- pootle/trunk/debian/pootle.postinst (original)
+++ pootle/trunk/debian/pootle.postinst Fri Aug 27 05:58:24 2010
@@ -60,6 +60,7 @@
case "$1" in
configure)
if [ -z "$2" ]; then
+ update-python-modules -p
su pootle -p -c "django-admin syncdb --settings pootle.settings --noinput"
su pootle -p -c "django-admin initdb --settings pootle.settings"
su pootle -p -c "django-admin refresh_stats --settings pootle.settings"
@@ -76,6 +77,7 @@
;;
esac
done
+ update-python-modules -p
su pootle -p -c "django-admin syncdb --settings pootle.settings --noinput"
su pootle -p -c "django-admin initdb --settings pootle.settings"
su pootle -p -c "python /usr/share/pyshared/pootle/tools/import_old_prefs.py /etc/pootle/pootle.prefs /etc/pootle/users.prefs"
More information about the Debian-l10n-commits
mailing list