mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
feat: mimicking get-app behaviour when app is already installed
This commit is contained in:
parent
ad000f1be7
commit
bbca3e9fab
@ -460,7 +460,13 @@ def install_resolved_deps(
|
||||
fg="green" if is_compatible else "red",
|
||||
)
|
||||
app.update_app_state()
|
||||
continue
|
||||
if click.confirm(
|
||||
f"Do you wish to clone and install the already installed {prefix}ompatible app"
|
||||
):
|
||||
click.secho(f"Removing installed app {app.name}", fg="yellow")
|
||||
shutil.rmtree(path_to_app)
|
||||
else:
|
||||
continue
|
||||
app.install_resolved_apps(skip_assets=skip_assets, verbose=verbose)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user