Skip to content

Commit

Permalink
fix: ensure /usr/local/bin exists (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
owlstake authored Nov 11, 2024
1 parent 796aa71 commit 2914373
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ else
TGZ_URL="https://github.com/dymensionxyz/roller/releases/download/$ROLLER_RELEASE_TAG/roller_${OS}_${ARCH}.tar.gz"
fi
ROLLER_BIN_PATH="/usr/local/bin/roller"
# Ensure /usr/local/bin exists
sudo mkdir -p "/usr/local/bin"
if [ -f "$ROLLER_BIN_PATH" ] || [ -f "$ROLLAPP_EVM_PATH" ] || [ -f "$DYMD_BIN_PATH" ] || [ -d "$INTERNAL_DIR" ]; then
sudo rm -f "$ROLLER_BIN_PATH"
fi
Expand Down

0 comments on commit 2914373

Please sign in to comment.