Ai
4 Star 8 Fork 4

爱折腾智能机器人/commands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
install_shell.sh 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
################################################################
# Function :ROS Commands Manager Shell Version #
# Platform :All Linux Based Platform #
# Version :1.0 #
# Date :2022-10-20 #
# Author :ncnynl #
# Contact :1043931@qq.com #
# Company :Foshan AiZheTeng Information Technology Co.,Ltd. #
# URL: https://ncnynl.com #
################################################################
#######################################
# Install Deps
# Globals:
# None
# Arguments:
# None
# Return:
# ubuntu
# Outputs:
# echo to stdout
#######################################
#python3 resource
function config_python3_source()
{
echo -e "Check pip.conf if exits, if not add !"
if [ ! -f ~/.pip/pip.conf ]; then
mkdir ~/.pip
touch ~/.pip/pip.conf
echo "[global]" >> ~/.pip/pip.conf
echo "index-url=https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
echo "[install]" >> ~/.pip/pip.conf
echo "trusted-host=pypi.tuna.tsinghua.edu.cn" >> ~/.pip/pip.conf
fi
}
config_python3_source
#install commands_extra
~/tools/commands/install_extra.sh
#install i18n
~/tools/commands/install_i18n.sh
#install bash completion
~/tools/commands/install_completion.sh
echo -e "All Install Finished"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/ncnynl/commands.git
git@gitee.com:ncnynl/commands.git
ncnynl
commands
commands
master

搜索帮助