diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/taler-deployment | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/bin/taler-deployment b/bin/taler-deployment index 680cb26..8a5ff9c 100755 --- a/bin/taler-deployment +++ b/bin/taler-deployment @@ -594,21 +594,6 @@ def build() -> None: r.builder(r, p) -@cli.command() -@click.argument("color", metavar="COLOR", type=click.Choice(["blue", "green"])) -def switch_demo(color) -> None: - """Switch deployment color of demo.""" - if os.environ["USER"] != "demo": - print("Command should be executed as the demo user only.") - sys.exit(1) - active_home = Path.home() / "active-home" - try: - active_home.unlink() - except: - pass - active_home.symlink_to(f"/home/demo-{color}") - - # repos does not contain distro-installed components def checkout_repos(cfg, repos): """Check out repos to the version specified in envcfg.py""" |