Made the initial setup script re-runnable
This commit is contained in:
parent
53501ca19e
commit
b7bb29250a
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue