From b7b42c5c803b9cf959132f072192096637236bf0 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sun, 26 Nov 2023 18:23:09 -0700 Subject: [PATCH] Update bootstrap to check version range --- scripts/bootstrap/bootstrap | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/bootstrap/bootstrap b/scripts/bootstrap/bootstrap index 6a278c10d..a69f9fd73 100755 --- a/scripts/bootstrap/bootstrap +++ b/scripts/bootstrap/bootstrap @@ -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