From d8483cad309fd3598c1ce81eb5de1956d7672926 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 16 Mar 2026 17:05:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Pridanie=20~/.local/bin?= =?UTF-8?q?=20do=20PATH=20po=20in=C5=A1tal=C3=A1cii=20Claude=20Code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- install/ubuntu-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/ubuntu-install.sh b/install/ubuntu-install.sh index a90d9fa..1d2750f 100644 --- a/install/ubuntu-install.sh +++ b/install/ubuntu-install.sh @@ -55,6 +55,8 @@ create_user() { # Inštalácia Claude Code msg_info "Inštalujem Claude Code pre ${username}" if su - "$username" -c "curl -fsSL https://claude.ai/install.sh | bash"; then + # Pridanie ~/.local/bin do PATH + su - "$username" -c "grep -q '.local/bin' ~/.bashrc || echo 'export PATH=\"\$HOME/.local/bin:\$PATH\"' >> ~/.bashrc" msg_ok "Claude Code nainštalovaný pre ${username}" else msg_warn "Claude Code inštalácia zlyhala pre ${username} (nefatálna chyba)"