mirror of
https://github.com/frappe/bench.git
synced 2025-02-03 03:18:24 +00:00
Add dontation pitch in bench update, fix #24
This commit is contained in:
parent
19f20a5f7a
commit
7ff05eb387
@ -69,6 +69,7 @@ def new_site(site):
|
|||||||
@click.option('--auto',flag_value=True, type=bool)
|
@click.option('--auto',flag_value=True, type=bool)
|
||||||
def update(pull=False, patch=False, build=False, bench=False, auto=False, restart_supervisor=False):
|
def update(pull=False, patch=False, build=False, bench=False, auto=False, restart_supervisor=False):
|
||||||
"Update bench"
|
"Update bench"
|
||||||
|
|
||||||
if not (pull or patch or build or bench):
|
if not (pull or patch or build or bench):
|
||||||
pull, patch, build, bench = True, True, True, True
|
pull, patch, build, bench = True, True, True, True
|
||||||
|
|
||||||
@ -83,8 +84,12 @@ def update(pull=False, patch=False, build=False, bench=False, auto=False, restar
|
|||||||
patch_sites()
|
patch_sites()
|
||||||
if build:
|
if build:
|
||||||
build_assets()
|
build_assets()
|
||||||
if restart_supervisor or conf.get('restart_supervisor_on_update'):
|
# if restart_supervisor or conf.get('restart_supervisor_on_update'):
|
||||||
restart_supervisor_processes()
|
# restart_supervisor_processes()
|
||||||
|
|
||||||
|
print "_"*80
|
||||||
|
print "https://frappe.io/buy - Donate to help make better free and open source tools"
|
||||||
|
print
|
||||||
|
|
||||||
@click.command('restart')
|
@click.command('restart')
|
||||||
def restart():
|
def restart():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user