From 90073aa63d6c15a84415e09713b9bf90aa75a02e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 5 Oct 2014 21:23:03 +0200 Subject: [PATCH] make sure python-ox keeps working on ubuntu 12.04 --- update.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.py b/update.py index e6504583..2ff64a12 100755 --- a/update.py +++ b/update.py @@ -97,6 +97,8 @@ if __name__ == "__main__": run('./bin/pip', 'install', '-r', 'requirements.txt') if old < 3770: run('./bin/pip', 'install', '-r', 'requirements.txt') + if old < 4379: + run('./bin/pip', 'install', '-r', 'requirements.txt') else: if len(sys.argv) == 1: @@ -146,6 +148,8 @@ if __name__ == "__main__": run('./manage.py', 'compile_pyc') if pandora_old_revno != pandora_new_revno: os.chdir(base) + if pandora_old_revno < '4379': + run('./bin/pip', 'install', 'six>=1.5.2') run('./update.py', 'postupdate', pandora_old_revno, pandora_new_revno) if not development: print 'pan.do/ra is at the latest stable release, you can run "./update.py dev" to update to the development version'