From 50952132194f635c4e9b9dc314d5f10fda94d06c Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Sat, 1 Aug 2026 16:07:46 -0400 Subject: [PATCH] Update 1 file: bootstrap.sh --- bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index ae05403..f8518e8 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,6 +1,7 @@ #!/bin/bash set -e +LOCALBIN=$HOME/.local/bin # --- Helpers --- info() { printf "\033[1;34m%s\033[0m\n" "$*"; } @@ -29,10 +30,10 @@ check_all() { # --- Update --- update() { - dotstate activate &>/dev/null || true + $LOCALBIN/dotstate activate &>/dev/null || true sed -i.bak 's/^repo_mode\s*=\s*".*"/repo_mode = "Local"/' ~/.config/dotstate/config.toml &>/dev/null || echo 'repo_mode = "Local"' >> ~/.config/dotstate/config.toml &>/dev/null - dotstate doctor --fix &>/dev/null || true - dotstate activate &>/dev/null || true + $LOCALBIN/dotstate doctor --fix &>/dev/null || true + $LOCALBIN/dotstate activate &>/dev/null || true } # --- Install ---