commit d09d271b485fc35df430ca0373c3e3b254d6c129
parent c5a97df81d51dcc56310b76ad65eb716ce767aef
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 23 Aug 2022 21:57:14 +0200
-get rid of demo switcher
Diffstat:
1 file changed, 0 insertions(+), 15 deletions(-)
diff --git 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"""