File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ export function resolveBrewPathDirs(opts?: {
3131 }
3232
3333 // Linuxbrew defaults.
34+ dirs . push ( path . join ( homeDir , ".linuxbrew" , "bin" ) ) ;
35+ dirs . push ( path . join ( homeDir , ".linuxbrew" , "sbin" ) ) ;
3436 dirs . push (
3537 "/home/linuxbrew/.linuxbrew/bin" ,
3638 "/home/linuxbrew/.linuxbrew/sbin" ,
3739 ) ;
38- dirs . push ( path . join ( homeDir , ".linuxbrew" , "bin" ) ) ;
39- dirs . push ( path . join ( homeDir , ".linuxbrew" , "sbin" ) ) ;
4040
4141 // macOS defaults (also used by some Linux setups).
4242 dirs . push ( "/opt/homebrew/bin" , "/usr/local/bin" ) ;
@@ -60,8 +60,8 @@ export function resolveBrewExecutable(opts?: {
6060 if ( prefix ) candidates . push ( path . join ( prefix , "bin" , "brew" ) ) ;
6161
6262 // Linuxbrew defaults.
63- candidates . push ( "/home/linuxbrew/.linuxbrew/bin/brew" ) ;
6463 candidates . push ( path . join ( homeDir , ".linuxbrew" , "bin" , "brew" ) ) ;
64+ candidates . push ( "/home/linuxbrew/.linuxbrew/bin/brew" ) ;
6565
6666 // macOS defaults.
6767 candidates . push ( "/opt/homebrew/bin/brew" , "/usr/local/bin/brew" ) ;
You can’t perform that action at this time.
0 commit comments