diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-23 21:57:14 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-23 21:57:14 +0200 |
commit | d09d271b485fc35df430ca0373c3e3b254d6c129 (patch) | |
tree | cf4081186f29142d5e2ecf1fe2dd4f0b7b8d3e99 /bin/taler-deployment | |
parent | c5a97df81d51dcc56310b76ad65eb716ce767aef (diff) | |
download | deployment-d09d271b485fc35df430ca0373c3e3b254d6c129.tar.gz deployment-d09d271b485fc35df430ca0373c3e3b254d6c129.tar.bz2 deployment-d09d271b485fc35df430ca0373c3e3b254d6c129.zip |
-get rid of demo switcher
Diffstat (limited to 'bin/taler-deployment')
-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""" |