Skip to content

Commit

Permalink
chore: installation should no longer remove avalanchego data.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-monninger committed Feb 3, 2024
1 parent f2e64e7 commit 2641db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions m1/scripts/anr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ export SUBNET_ID=srEXiWaHZNDcVtfHLb38cFiwKVLJ8xnhDF5qpWbYdowxEiyid

echo $SUBNET_ID
# Copy the subnet binary to the plugin dir
<<<<<<< HEAD
# cp ./target/debug/subnet ${AVALANCHEGO_PLUGIN_PATH}/${SUBNET_ID}
=======
cp ./target/debug/subnet ${AVALANCHEGO_PLUGIN_PATH}/${SUBNET_ID}
>>>>>>> indexer-fix
# cp ./target/debug/subnet ${AVALANCHEGO_PLUGIN_PATH}/subnet

# Start the avalanche-network-runner
Expand Down
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ show_config(){
setup() {

log_warning "Removing previous installation, if one exists."
rm -rf "$AVALANCHEGO_DIR" "$AVALANCHEGO_DIR/plugins" "$MOVEMENT_DIR" "$PLUGINS_DIR" "$BIN_DIR" "$MOVEMENT_WORKSPACE"
rm -rf "$MOVEMENT_DIR"
log_info "Making new .movement directories."
mkdir -p "$AVALANCHEGO_DIR" "$AVALANCHEGO_DIR/plugins" "$MOVEMENT_DIR" "$PLUGINS_DIR" "$BIN_DIR" "$MOVEMENT_WORKSPACE"
mkdir -p "$MOVEMENT_DIR"

}

Expand Down

0 comments on commit 2641db5

Please sign in to comment.