portable-ruby: improve installation messaging.
- Use “Pouring” to be more consistent with our normal messaging. - Don’t be silent by default.
This commit is contained in:
parent
064c52efc4
commit
aa665b9458
@ -135,7 +135,7 @@ install() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
safe_cd "$VENDOR_DIR"
|
safe_cd "$VENDOR_DIR"
|
||||||
[[ -n "$HOMEBREW_QUIET" ]] || echo "==> Unpacking $(basename "$VENDOR_URL")"
|
[[ -n "$HOMEBREW_QUIET" ]] || echo "==> Pouring $(basename "$VENDOR_URL")"
|
||||||
tar "$tar_args" "$CACHED_LOCATION"
|
tar "$tar_args" "$CACHED_LOCATION"
|
||||||
safe_cd "$VENDOR_DIR/portable-$VENDOR_NAME"
|
safe_cd "$VENDOR_DIR/portable-$VENDOR_NAME"
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ setup-ruby-path() {
|
|||||||
|
|
||||||
if [[ $(readlink "$vendor_ruby_current_version") != "$(<"$vendor_dir/portable-ruby-version")" ]]
|
if [[ $(readlink "$vendor_ruby_current_version") != "$(<"$vendor_dir/portable-ruby-version")" ]]
|
||||||
then
|
then
|
||||||
if ! brew vendor-install ruby --quiet
|
if ! brew vendor-install ruby
|
||||||
then
|
then
|
||||||
onoe "Failed to upgrade vendor Ruby."
|
onoe "Failed to upgrade vendor Ruby."
|
||||||
fi
|
fi
|
||||||
@ -42,7 +42,7 @@ setup-ruby-path() {
|
|||||||
|
|
||||||
if [[ "$ruby_old_version" == "true" || -n "$HOMEBREW_FORCE_VENDOR_RUBY" ]]
|
if [[ "$ruby_old_version" == "true" || -n "$HOMEBREW_FORCE_VENDOR_RUBY" ]]
|
||||||
then
|
then
|
||||||
brew vendor-install ruby --quiet
|
brew vendor-install ruby
|
||||||
if [[ ! -x "$vendor_ruby_path" ]]
|
if [[ ! -x "$vendor_ruby_path" ]]
|
||||||
then
|
then
|
||||||
odie "Failed to install vendor Ruby."
|
odie "Failed to install vendor Ruby."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user