Skip to content

fix: allow BNC install without sudo for writable prefixes - #120

Merged
jajera merged 1 commit into
mainfrom
119-allow-bnc-install-without-sudo
Aug 24, 2026
Merged

fix: allow BNC install without sudo for writable prefixes#120
jajera merged 1 commit into
mainfrom
119-allow-bnc-install-without-sudo

Conversation

@jajera

@jajera jajera commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Closes #119

Summary

  • Prefer non-sudo install/remove when the destination path is writable
  • Fall back to sudo only when needed
  • Document $HOME/.local install path for non-root installs

Test plan

  • BNC_PREFIX=$HOME/.local ./install_bnc.sh install on Fedora 41 without sudo
  • bnc --help succeeds and Qt5 libs resolve via ldd
  • CI checks pass

Prefer non-sudo install/remove when the destination is writable so user installs (e.g. BNC_PREFIX=$HOME/.local) work in non-interactive shells.
@jajera
jajera merged commit 1e4b1e6 into main Aug 24, 2026
2 checks passed
@jajera
jajera deleted the 119-allow-bnc-install-without-sudo branch August 24, 2026 08:30
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.

Allow install_bnc.sh to install without sudo when prefix is writable

1 participant