Bug-fix release for the macOS agent installer and uninstaller.
Fixes
- macOS uninstaller failed at the confirmation prompt (#304) —
uninstall.shused a bash 4 lowercase expansion (${yn,,}), which is a "bad substitution" error on the bash 3.2 that macOS ships. Replaced with a portable check so the uninstaller runs on macOS. - macOS installer quit silently while installing Borg — the installer runs under
sudo, but Homebrew refuses to run as root, sobrew installfailed with no visible message and the script stopped at the Borg step. It now runs Homebrew as the invoking user, finds Homebrew and Borg in Apple Silicon's/opt/homebrewlocations, and falls back gracefully if the package step can't complete.
Both scripts were verified on bash 3.2 on Apple Silicon macOS.