优化谷歌云下的安装

This commit is contained in:
Jrohy
2020-06-28 08:20:13 +08:00
parent a4c4b8e815
commit 5e0d3c9adf

View File

@@ -65,6 +65,9 @@ checkSys() {
colorEcho $RED "Not support OS!"
exit 1
fi
# 缺失/usr/local/bin路径时自动添加
[[ -z `echo $PATH|grep /usr/local/bin` ]] && { echo 'export PATH=$PATH:/usr/local/bin' >> /etc/profile; source /etc/profile; }
}
commonDependent(){