From 901f2025a835e004bcb65bdd4874cf3ac391d409 Mon Sep 17 00:00:00 2001 From: Charlie Lye Date: Wed, 7 Feb 2024 10:01:53 +0000 Subject: [PATCH] Delay rming bins till right before installing them. --- aztec-up/bin/aztec-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aztec-up/bin/aztec-install b/aztec-up/bin/aztec-install index 3c7dec94844..769ed5fcb8c 100755 --- a/aztec-up/bin/aztec-install +++ b/aztec-up/bin/aztec-install @@ -90,7 +90,6 @@ fi # Create a "hidden" `$HOME/.aztec` dir, so as not to clutter the user's cwd. mkdir -p $AZTEC_PATH mkdir -p $BIN_PATH -rm -f $BIN_PATH/aztec* # Download containers from dockerhub. Tag them as latest. function pull_container { @@ -121,6 +120,7 @@ function install_bin { } info "Installing scripts in $BIN_PATH..." +rm -f $BIN_PATH/aztec* install_bin .aztec-run install_bin aztec install_bin aztec-cli