#!/bin/sh set -e yum install -y git echo "Flutter Install..." cd /usr/local && git clone https://github.com/flutter/flutter.git -b stable echo export FLUTTER_HOME=/usr/local/flutter>>/etc/profile echo export PUB_HOSTED_URL=https://pub.flutter-io.cn>>/etc/profile echo export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn>>/etc/profile echo export PATH=$FLUTTER_HOME:$PATH>>/etc/profile source /etc/profile