Skip to content

Commit

Permalink
Support installation for Yum packaged system such as Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
androidyue committed Aug 25, 2013
1 parent b179571 commit 64d36cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/bin/bash
echo "安装将花费一定时间,请耐心等待直到安装完成^_^"
sudo apt-get install -y vim vim-gnome ctags xclip astyle python-setuptools
if which apt-get >/dev/null; then
sudo apt-get install -y vim vim-gnome ctags xclip astyle python-setuptools
else
sudo yum install -y vim ctags.i686 xclip astyle python-setuptools
fi
sudo easy_install -ZU autopep8 twisted
sudo ln -s /usr/bin/ctags /usr/local/bin/ctags
mv ~/vim ~/vim_old -f
Expand Down

0 comments on commit 64d36cf

Please sign in to comment.