feat(brew): add homebrew quirks for truenas

This commit is contained in:
Jan-Ole Hübner 2025-04-13 18:15:02 +02:00
parent 3f0b8e878f
commit c6cab93f4d
3 changed files with 13 additions and 7 deletions

View file

@ -30,6 +30,12 @@ install_dotfiles () {
if ! command -v brew &>/dev/null; then
echo "Homebrew not found. Installing..."
if uname -r | grep -qi "truenas"; then
mkdir $HOME/linuxbrew
sudo ln -s $HOME/linuxbrew /home/linuxbrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
if [[ "$OSTYPE" == "darwin"* ]]; then