From acb74219eeaa8c2702c183575d1f95b869e54775 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 19 Sep 2013 14:01:40 +0200 Subject: [PATCH] update django in postupdate --- update.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/update.py b/update.py index d2ad69ce6..6c7371ef8 100755 --- a/update.py +++ b/update.py @@ -86,6 +86,12 @@ if __name__ == "__main__": if old < 3448: if os.path.exists('static/pandora'): run('bzr', 'resolved', 'static/pandora') + if old < 3651: + if os.path.exists('src/django/.git'): + os.chdir(os.path.join(base, 'src/django')) + run('git', 'checkout', 'stable/1.4.x') + run('git', 'pull') + os.chdir(base) else: if len(sys.argv) == 1: