Made the initial setup script re-runnable

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-07-31 20:25:32 +02:00
parent 53501ca19e
commit b7bb29250a

View file

@ -48,16 +48,23 @@ rm -f ~/.config/terminator/config
ln "$DIR/.config/terminator/config" ~/.config/terminator/config
#install fonts
mkdir ~/.fonts
mkdir -p ~/.fonts
cp -rv "$DIR/fonts" ~/.fonts
fc-cache
#rust
echo "installing rust"
curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y
cd "$DIR/.vim/bundle/racer/"
cargo build
cd "$DIR/../"
git clone https://github.com/rust-lang/rust.git
echo "getting rust sources..."
if [[ ! -d rust ]]; then
git clone https://github.com/rust-lang/rust.git
else
cd rust
git pull
fi
#rvm
gpg --recv-keys BF04FF17