2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

disable auto update

This commit is contained in:
Pratik Vyas 2014-09-17 11:59:12 +05:30
parent adb06aa920
commit 0f6192152e

View File

@ -108,7 +108,7 @@ def update(pull=False, patch=False, build=False, bench=False, auto=False, restar
if conf.get('release_bench'):
print 'Release bench, cannot update'
sys.exit(1)
if auto and not conf.get('auto_update'):
if auto:
sys.exit(1)
if bench and conf.get('update_bench_on_update'):
update_bench()