forked from 0x2620/pandora
make sure python-ox keeps working on ubuntu 12.04
This commit is contained in:
parent
c076579300
commit
90073aa63d
1 changed files with 4 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue