From 317bf639cb827b8e05b1d15564376aaf4100768e Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 13 Nov 2017 19:18:42 -0800 Subject: [PATCH] Clean master-cookbook of old installs that are now packages --- master-cookbook | 21 --------------------- recipes/default/build-neovim | 6 +++--- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/master-cookbook b/master-cookbook index f624110..4141d2b 100755 --- a/master-cookbook +++ b/master-cookbook @@ -35,23 +35,12 @@ if ! command_exist 'nvim' && prompt_yn "Build Neovim?" ; then build_neovim=true fi -build_fish=false -if ! command_exist 'fish' && prompt_yn "Build Fish?" ; then - build_fish=true -fi - # Optional install_sfdc=false if ! is_installed "salesforce" && prompt_yn "Install Salesforce tools?" ; then install_sfdc=true fi -# Optional -install_golang=false -if ! command_exist 'go' && prompt_yn "Install Go?" ; then - install_golang=true -fi - ### Run recipes if $install_packages ; then recipe 'packages' @@ -77,21 +66,11 @@ if $build_neovim ; then set_installed "neovim" fi -if $build_fish ; then - recipe 'build-fish' - set_installed "build-fish" -fi - if $install_sfdc ; then recipe 'salesforce' set_installed 'salesforce' fi -if $install_golang ; then - recipe 'golang' - set_installed 'golang' -fi - ### Show the Finished banner finished diff --git a/recipes/default/build-neovim b/recipes/default/build-neovim index 0faee3d..d3fadff 100644 --- a/recipes/default/build-neovim +++ b/recipes/default/build-neovim @@ -11,7 +11,7 @@ case "$PACKAGE_MANAGER" in sudo_package 'libtool automake cmake pkg-config gettext ninja' ;; "apt-get") - sudo_package 'libtool libtool-bin autoconf automake cmake g++ pkg-config unzip ninja-build' + sudo_package 'libtool libtool-bin autoconf automake cmake g++ gettext pkg-config unzip ninja-build' # Ensure python support is in nvim sudo_package 'python-dev python-pip python3-dev python3-pip' ;; @@ -28,7 +28,7 @@ if [ ! -d $neovim_dir ]; then log "Cloning neovim" git clone https://github.com/neovim/neovim $neovim_dir else - (cd $neovim_dir && git pull) + (cd $neovim_dir && git fetch) fi -(cd $neovim_dir && make && sudo make install) +(cd $neovim_dir && git checkout stable && make && sudo make install)