install vim before invoking the main script on bunsen

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-07-09 14:15:53 +02:00
parent 64ff907aff
commit 0a0150e196

View file

@ -1,7 +1,6 @@
#!/bin/bash
set -e
set -v
sudo apt-get update
sudo apt-get -y upgrade
@ -20,10 +19,6 @@ if [[ -z $DONT_START_TOR ]]; then
sudo systemctl start tor
fi
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$DIR/../"
DIR="$DIR" $DIR/common/configure_fresh_system
# install vim from sources
VIM_BUILD_DIR=/tmp
cd "$VIM_BUILD_DIR"
@ -42,3 +37,8 @@ sudo make install
cd
rm -fvr "$VIM_BUILD_DIR/vim"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$DIR/../"
DIR="$DIR" $DIR/common/configure_fresh_system