Commit Graph

8 Commits

Author SHA1 Message Date
Morgan Prior
2fc164e4d1 Use apt instead of apt-get in install function
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 08:51:25 +00:00
Morgan Prior
57ba5cd169 Rewrite homebrew addon to use core.func/tools.func pattern
Sources core.func, tools.func, error_handler.func, and api.func
instead of inline color vars and msg functions. Adds structured
sections (CONFIGURATION, OS DETECTION, UNINSTALL, INSTALL, MAIN)
matching the qbittorrent-exporter/pihole-exporter pattern.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 20:49:33 +00:00
Morgan Prior
05b99489fe Clarify error message: Homebrew cannot run as root
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 15:50:37 +00:00
Morgan Prior
da4e45695f Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:59:56 +00:00
Morgan Prior
ce3127f2b3 Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:59:42 +00:00
Morgan Prior
83df31c5da Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:58:56 +00:00
Morgan Prior
0b68f923b6 Update tools/addon/homebrew.sh
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-26 13:58:41 +00:00
Morgan Prior
566b6c331b Add Homebrew (Linuxbrew) addon script
Addon script that installs Homebrew into an existing LXC container.
Dynamically detects the first non-root user, sets up multi-user access
via linuxbrew group with setgid directories, and configures shell
integration for both login and non-login shells.

Tested on Debian 13 (trixie) — brew doctor reports "ready to brew".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 13:46:40 +00:00