From 9779c2308be2585b90c0866f158e1035633d95e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Thu, 15 Sep 2016 06:43:04 +0200 Subject: [PATCH] do not use python3 under ubuntu trusty as YCM does not compile under it --- common/configure_fresh_system | 7 ++++++- ubuntu/trusty/configure_fresh_system | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common/configure_fresh_system b/common/configure_fresh_system index 1ffbb361..26bd6104 100755 --- a/common/configure_fresh_system +++ b/common/configure_fresh_system @@ -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 diff --git a/ubuntu/trusty/configure_fresh_system b/ubuntu/trusty/configure_fresh_system index becc6d1e..087323ae 100755 --- a/ubuntu/trusty/configure_fresh_system +++ b/ubuntu/trusty/configure_fresh_system @@ -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