We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796d706 commit 9f92ec2Copy full SHA for 9f92ec2
bin/internal/update_dart_sdk.sh
@@ -39,6 +39,23 @@ if [ ! -f "$ENGINE_STAMP" ] || [ "$ENGINE_VERSION" != `cat "$ENGINE_STAMP"` ]; t
39
echo
40
exit 1
41
}
42
+ command -v unzip > /dev/null 2>&1 || {
43
+ echo
44
+ echo 'Missing "unzip" tool. Unable to extract Dart SDK.'
45
+ case "$(uname -s)" in
46
+ Darwin)
47
+ echo 'Consider running "brew install unzip".'
48
+ ;;
49
+ Linux)
50
+ echo 'Consider running "sudo apt-get install unzip".'
51
52
+ *)
53
+ echo "Please install unzip."
54
55
+ esac
56
57
+ exit 1
58
+ }
59
echo "Downloading Dart SDK from Flutter engine $ENGINE_VERSION..."
60
61
case "$(uname -s)" in
0 commit comments