forked from 0x2620/pandora
update django in postupdate
This commit is contained in:
parent
01a6faed0d
commit
acb74219ee
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ if __name__ == "__main__":
|
||||||
if old < 3448:
|
if old < 3448:
|
||||||
if os.path.exists('static/pandora'):
|
if os.path.exists('static/pandora'):
|
||||||
run('bzr', 'resolved', '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:
|
else:
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
|
|
Loading…
Reference in a new issue