From d09d271b485fc35df430ca0373c3e3b254d6c129 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 23 Aug 2022 21:57:14 +0200 Subject: -get rid of demo switcher --- bin/taler-deployment | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'bin') 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""" -- cgit v1.2.3