mirror of
https://github.com/ublue-os/brew.git
synced 2026-11-03 21:49:43 -09:00
Update system_files/etc/profile.d/brew.sh
Co-authored-by: renner <80410025+renner0e@users.noreply.github.com>
This commit is contained in:
parent
78ea1d8c17
commit
36c16b0c10
1 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Prioritize system binaries to prevent brew overriding things like dbus
|
||||
# See: https://github.com/ublue-os/brew/blob/54b30cc07d3211fca65ca5cc724e9812c8c79b77/system_files/usr/lib/systemd/system/brew-upgrade.service#L17-L22
|
||||
if [[ -d /home/linuxbrew/.linuxbrew && $- == *i* ]] ; then
|
||||
export HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew"
|
||||
export HOMEBREW_CELLAR="/home/linuxbrew/.linuxbrew/Cellar"
|
||||
|
|
|
|||
Loading…
Reference in a new issue