brew almost never requires sudo (#10525)

This commit is contained in:
Timothee Cour 2019-02-01 14:56:31 -08:00 • committed by GitHub
commit 2b35a51651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,7 +232,7 @@ proc foreignDepInstallCmd*(foreignPackageName: string): (string, bool) =
elif defined(haiku):
result = ("pkgman install " & p, true)
else:
result = ("brew install " & p, true)
result = ("brew install " & p, false)
proc foreignDep*(foreignPackageName: string) =
## Registers 'foreignPackageName' to the internal list of foreign deps.