feat: opt out of homebrew analytics by default

This commit is contained in:
qoijjj
2024-05-13 17:23:29 -07:00
committed by GitHub
parent 4928161480
commit 9d6b7c60ff
2 changed files with 13 additions and 1 deletions

View File

@@ -3,3 +3,4 @@ scripts:
- authselect.sh
- setfilepermissions.sh
- disablesealertpopups.sh
- homebrewanalyticsoptout.sh

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
# https://docs.brew.sh/Analytics
echo "
HOMEBREW_NO_ANALYTICS=1
" >> /usr/etc/environment