brew.sh: Only do tmpdir check on macOS
This commit is contained in:
parent
bde7c6b82b
commit
68d3dc1368
@ -290,6 +290,8 @@ EOS
|
||||
check-run-command-as-root
|
||||
|
||||
check-prefix-is-not-tmpdir() {
|
||||
[[ -z "${HOMEBREW_MACOS}" ]] && return
|
||||
|
||||
if [[ "${HOMEBREW_PREFIX}" = "${HOMEBREW_TEMP}"* ]]
|
||||
then
|
||||
odie <<EOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user