Skip to content

Update install.sh for release 2026.4.1-preview.3#36

Open
hecspc wants to merge 1 commit into
mainfrom
update-install-scripts-2026.4.1-preview.3
Open

Update install.sh for release 2026.4.1-preview.3#36
hecspc wants to merge 1 commit into
mainfrom
update-install-scripts-2026.4.1-preview.3

Conversation

@hecspc
Copy link
Copy Markdown
Contributor

@hecspc hecspc commented Apr 1, 2026

Automated update of install.sh for release 2026.4.1-preview.3

This PR updates the installer script to sync with the latest version from the main repository.

Changes include:

  • Sync installer script with latest version
  • Automated update from release workflow

  - Sync installer script with latest version
  - Automated update from release workflow
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a276794d9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread install.sh
Comment on lines +121 to +124
if [ -w "$INSTALL_DIR" ]; then
cp "${TEMP_DIR}/vvctl" "${INSTALL_DIR}/vvctl"
else
sudo cp "${TEMP_DIR}/vvctl" "${INSTALL_DIR}/vvctl"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Create target directory before permission-based copy

The new install branch checks -w "$INSTALL_DIR" and immediately copies, but it no longer creates the directory first. When INSTALL_DIR is set to a path that does not yet exist (for example INSTALL_DIR=$HOME/bin), the writability test is false and the script falls back to sudo cp, which still fails because the parent directory is missing (and may also fail on systems without sudo). This is a regression from the previous behavior (mkdir -p) and breaks valid custom install targets.

Useful? React with 👍 / 👎.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant