Skip to content

Commit

Permalink
Update bootstrap to check version range
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Nov 27, 2023
1 parent be299de commit b7b42c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/bootstrap/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ main() {
# Clean up the partial install if an uncaught error happens
trap error-cleanup ERR

if ! check-version "$toltec_branch"; then
if [[ "$1" != "--force" ]]; then
exit 1
fi
fi

log "Installing Toltec and Entware"

# Create bind mount from user directory to /opt
Expand Down

0 comments on commit b7b42c5

Please sign in to comment.