代码拉取完成,页面将自动刷新
#!/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"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。