do not use python3 under ubuntu trusty as YCM does not compile under it

This commit is contained in:
Cyryl Płotnicki 2016-09-15 06:43:04 +02:00
parent 1ba42b7e50
commit 9779c2308b
2 changed files with 7 additions and 1 deletions

View file

@ -109,7 +109,12 @@ if [[ -z $NOVIM ]]; then
echo "\n" | vim +PluginInstall +qa
if [[ -z $NOYCM ]]; then
cd ~/.vim/bundle/YouCompleteMe
python3 ./install.py --clang-completer --racer-completer --tern-completer
if [[ -z $NOPYTHON3 ]]; then
python3 ./install.py --clang-completer --racer-completer --tern-completer
else
python ./install.py --clang-completer --racer-completer --tern-completer
fi
fi
fi

View file

@ -29,4 +29,5 @@ sudo apt-get -y install mono-devel mono-complete
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$DIR/../../"
export NO_GO=true
eport NOPYTHON3=true
DIR="$DIR" $DIR/common/configure_fresh_system