We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9c4bb1 commit 4f7d5a0Copy full SHA for 4f7d5a0
1 file changed
packages/cli/install.sh
@@ -326,7 +326,8 @@ add_bin_to_path() {
326
327
if [ -f "$shell_config" ]; then
328
if [ ! -w "$shell_config" ]; then
329
- error "Cannot write to $shell_config. Please check the file permissions and re-run the installer."
+ warn "Cannot write to $shell_config (permission denied), skipping."
330
+ return 1
331
fi
332
if grep -q "${abs_pattern}/env" "$shell_config" 2>/dev/null || \
333
grep -q "${ref_pattern}/env" "$shell_config" 2>/dev/null; then
0 commit comments