From bbb0814360987490401c87111f955bce0ebd6ef4 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Fri, 10 Sep 2021 22:33:24 +0000 Subject: [PATCH] make sure homebrew path is set when installing --- .../etc/skel/Library/user-setup/100.install-homebrew-apps.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/custompkg/root/etc/skel/Library/user-setup/100.install-homebrew-apps.sh b/custompkg/root/etc/skel/Library/user-setup/100.install-homebrew-apps.sh index e7568ec..224d5e8 100644 --- a/custompkg/root/etc/skel/Library/user-setup/100.install-homebrew-apps.sh +++ b/custompkg/root/etc/skel/Library/user-setup/100.install-homebrew-apps.sh @@ -3,9 +3,12 @@ # reminder: homebrew is *spyware*. if you don't do this, it won't # set HOMEBREW_NO_ANALYTICS and it will silently spy on you when you use it. # this should happen in the .profile but let's do it again here to be certain: -source $HOME/.profile +source $HOME/.bashrc export HOMEBREW_NO_ANALYTICS=1 +# this shouldn't be needed but it is +export PATH="$PATH:$HOME/Library/Homebrew/bin" + # Homebrew's package database is on GitHub. The hashes to verify the # authenticity of the source archive downloads are in the package database. # Microsoft, a large US military contractor with long ties to illegal NSA spying