cmd/update: avoid switching developers to stable
branch
Checking for `HOMEBREW_NO_INSTALL_CLEANUP` was added in #18825, but this breaks developers by switching them to the stable branch. Setting `HOMEBREW_NO_UPDATE_CLEANUP` when `HOMEBREW_NO_INSTALL_CLEANUP` is set seems like a relatively recent addition, so I don't think it hurts to just remove it. We can add it back (correctly) if there are users that need it.
This commit is contained in:
parent
58e72b0a7f
commit
4029e3d7c1
@ -375,7 +375,7 @@ EOS
|
||||
|
||||
if [[ -z "${HOMEBREW_UPDATE_TO_TAG}" ]]
|
||||
then
|
||||
if [[ -n "${HOMEBREW_DEVELOPER}" || -n "${HOMEBREW_DEV_CMD_RUN}" ]] && [[ -n "${HOMEBREW_NO_INSTALL_CLEANUP}" ]]
|
||||
if [[ -n "${HOMEBREW_DEVELOPER}" || -n "${HOMEBREW_DEV_CMD_RUN}" ]]
|
||||
then
|
||||
export HOMEBREW_NO_UPDATE_CLEANUP="1"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user