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 ln "$DIR/.config/terminator/config" ~/.config/terminator/config
#install fonts #install fonts
mkdir ~/.fonts mkdir -p ~/.fonts
cp -rv "$DIR/fonts" ~/.fonts cp -rv "$DIR/fonts" ~/.fonts
fc-cache fc-cache
#rust #rust
echo "installing rust"
curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y curl -sSf https://static.rust-lang.org/rustup.sh | bash -s -- -y
cd "$DIR/.vim/bundle/racer/" cd "$DIR/.vim/bundle/racer/"
cargo build cargo build
cd "$DIR/../" 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 #rvm
gpg --recv-keys BF04FF17 gpg --recv-keys BF04FF17