vendor-install: cleanup bootsnap.
This commit is contained in:
parent
b25cdbabba
commit
6abdbd1fe0
@ -365,4 +365,11 @@ homebrew-vendor-install() {
|
|||||||
lock "vendor-install-${VENDOR_NAME}"
|
lock "vendor-install-${VENDOR_NAME}"
|
||||||
fetch
|
fetch
|
||||||
install
|
install
|
||||||
|
|
||||||
|
# Bootsnap needs cleaned up on a new Ruby version.
|
||||||
|
# It's cleaned up by every `brew cleanup` run anyway so not a big deal to do it here, too.
|
||||||
|
if [[ "${VENDOR_NAME}" == "ruby" ]]
|
||||||
|
then
|
||||||
|
rm -rf "${HOMEBREW_CACHE}/bootsnap"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user