From 862560340170e7e21716e034405b1dffa3bc8e0a Mon Sep 17 00:00:00 2001 From: Li Cao Date: Fri, 15 Jan 2021 02:17:27 +0800 Subject: [PATCH] [bootstrap] fix pretty format install (#6066) --- script/bootstrap | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script/bootstrap b/script/bootstrap index bc90bdcec..35eab7248 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -33,7 +33,7 @@ set -euxo pipefail -install_packages_apt_pretty_format() +install_packages_pretty_format() { echo 'Installing pretty tools useful for code contributions...' @@ -74,7 +74,7 @@ install_packages_apt() fi if [ "$PLATFORM" != "Raspbian" ]; then - install_packages_apt_pretty_format + install_packages_pretty_format fi } @@ -136,8 +136,6 @@ install_packages() PM=opkg elif command -v brew; then PM=brew - elif command -v pretty-format; then - PM=apt-pretty-format fi install_packages_$PM }