From a24e99e49c0f763c929fcd795bd33b68949e4b93 Mon Sep 17 00:00:00 2001 From: chxuan <787280310@qq.com> Date: Sat, 22 Feb 2020 16:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8centos=E4=B8=8A=E4=B8=8D=E7=94=A8?= =?UTF-8?q?=E5=8D=B8=E8=BD=BDvi=E5=92=8Cvim=E7=9B=B4=E6=8E=A5=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=AE=89=E8=A3=85vim?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/install.sh b/install.sh index 4a9ca31b..8a41791e 100755 --- a/install.sh +++ b/install.sh @@ -227,11 +227,6 @@ function compile_vim_on_debian() # 在centos上源代码安装vim function compile_vim_on_centos() { - sudo rm -rf /usr/bin/vi - sudo rm -rf /usr/bin/vim* - sudo rm -rf /usr/local/bin/vim* - sudo rm -rf /usr/share/vim/vim* - sudo rm -rf /usr/local/share/vim/vim* rm -rf ~/vim81 sudo yum install -y ruby ruby-devel lua lua-devel luajit \ @@ -319,7 +314,6 @@ function install_prepare_software_on_centos() else sudo yum install -y ctags automake gcc gcc-c++ kernel-devel cmake python-devel python3-devel fontconfig ack git compile_vim_on_centos - sudo ln -s /usr/bin/vim /usr/bin/vi fi }