Revive Debian config (#115)
This commit is contained in:
parent
e70b4c739a
commit
39eb1b9b3c
1 changed files with 16 additions and 6 deletions
22
debian/configure_fresh_system.sh
vendored
22
debian/configure_fresh_system.sh
vendored
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
||||||
if [[ -z $NOUPGRADE ]]; then
|
if [[ -z $NOUPGRADE ]]; then
|
||||||
|
@ -30,10 +32,18 @@ echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat m
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install mono-devel mono-complete
|
sudo apt-get -y install mono-devel mono-complete
|
||||||
|
|
||||||
|
# vim
|
||||||
if [[ -z $NO_COMPILE_VIM ]]; then
|
if [[ -z $NO_COMPILE_VIM ]]; then
|
||||||
VIM_BUILD_DIR=/tmp
|
VIM_BUILD_DIR=`realpath "$DIR/../../"`
|
||||||
cd "$VIM_BUILD_DIR"
|
cd "$VIM_BUILD_DIR"
|
||||||
git clone https://github.com/vim/vim.git
|
if [[ ! -d vim ]]; then
|
||||||
|
git clone https://github.com/vim/vim.git --recursive
|
||||||
|
else
|
||||||
|
cd vim
|
||||||
|
git pull
|
||||||
|
git submodule update --init --recursive
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
cd vim
|
cd vim
|
||||||
./configure --with-features=huge \
|
./configure --with-features=huge \
|
||||||
--enable-multibyte \
|
--enable-multibyte \
|
||||||
|
@ -41,14 +51,14 @@ if [[ -z $NO_COMPILE_VIM ]]; then
|
||||||
--enable-python3interp=yes \
|
--enable-python3interp=yes \
|
||||||
--enable-luainterp \
|
--enable-luainterp \
|
||||||
--enable-gui=no \
|
--enable-gui=no \
|
||||||
--enable-cscope
|
--enable-cscope \
|
||||||
make -j2
|
--enable-pythoninterp \
|
||||||
|
--enable-python3interp
|
||||||
|
make -j`nproc`
|
||||||
sudo make install
|
sudo make install
|
||||||
cd
|
cd
|
||||||
rm -fvr "$VIM_BUILD_DIR/vim"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
||||||
DIR="$DIR/../"
|
DIR="$DIR/../"
|
||||||
DIR="$DIR" $DIR/common/configure_fresh_system.sh
|
DIR="$DIR" $DIR/common/configure_fresh_system.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue