Skip to content

fix: binary installation with sudo#26

Merged
designcode merged 1 commit intomainfrom
fix/binary-installation-path
Mar 3, 2026
Merged

fix: binary installation with sudo#26
designcode merged 1 commit intomainfrom
fix/binary-installation-path

Conversation

@designcode
Copy link
Collaborator

@designcode designcode commented Mar 3, 2026

Note

Low Risk
Low risk shell-script change limited to install-time behavior; main risk is unexpected sudo prompting or permission edge cases on systems without sudo.

Overview
Updates scripts/install.sh to handle protected install locations more robustly by attempting mkdir -p normally, then retrying with sudo (or failing with a clearer message when sudo is unavailable).

During installation it now detects when ${INSTALL_DIR} is not writable, warns the user, and prefixes the mv, chmod, and t3 symlink creation with sudo as needed.

Written by Cursor Bugbot for commit ef3dcfc. This will update automatically on new commits. Configure here.

@designcode designcode merged commit 1347bf4 into main Mar 3, 2026
2 checks passed
@designcode designcode deleted the fix/binary-installation-path branch March 3, 2026 10:26
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

🎉 This PR is included in version 2.11.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants