2 Star 0 Fork 95

WayKwin / VimForCpp

forked from HGtz2222 / VimForCpp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
install.sh 827 Bytes
一键复制 编辑 原始数据 按行查看 历史
HGtz2222 提交于 2018-05-11 14:03 . fix bug, change install dir
#!/usr/bin/sh
echo "
+------------------------------------------------------+
| |
| VimForCpp |
| |
+------------------------------------------------------+
安装开始!
整个过程大概需要下载大约 200MB 数据. 流量党请慎入!
"
# 切换到 root 用户, 并且触发安装脚本
install_user_home=$HOME
function SwitchRoot() {
echo "为了安装依赖程序, 需要使用 root 账户. 您的密码不会被上传."
echo "请输入 root 密码:"
su -c "curl -sLf https://gitee.com/HGtz2222/VimForCpp/raw/master/start.sh -o /tmp/start.sh && bash /tmp/start.sh $install_user_home"
rm -f /tmp/start.sh > /dev/null 2>&1
}
# 切换到 root 用户
SwitchRoot
VimL
1
https://gitee.com/WayKwin/VimForCpp.git
git@gitee.com:WayKwin/VimForCpp.git
WayKwin
VimForCpp
VimForCpp
master

搜索帮助