Fixed problem in install script
This commit is contained in:
parent
588224a591
commit
38181433ca
18
install.sh
18
install.sh
|
@ -12,8 +12,8 @@ if [ ! -f ~/.gitignore ]; then ln -s ~/.dotfiles/gitignore ~/.gitignore; fi
|
||||||
|
|
||||||
#install gnome-terminal-colors-solarized
|
#install gnome-terminal-colors-solarized
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you wish to install gnome-terminal-colors-solarized? " yn
|
read -p "Do you wish to install gnome-terminal-colors-solarized? " yn1
|
||||||
case $yn in
|
case $yn1 in
|
||||||
[Yy]* ) sudo apt-get install dconf-cli;
|
[Yy]* ) sudo apt-get install dconf-cli;
|
||||||
git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git
|
git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git
|
||||||
cd gnome-terminal-colors-solarized;
|
cd gnome-terminal-colors-solarized;
|
||||||
|
@ -21,27 +21,27 @@ while true; do
|
||||||
cd ..;
|
cd ..;
|
||||||
rm -rf gnome-terminal-colors-solarized;
|
rm -rf gnome-terminal-colors-solarized;
|
||||||
break;;
|
break;;
|
||||||
[Nn]* ) exit;;
|
[Nn]* ) break;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you wish to update all submodules?" yn
|
read -p "Do you wish to update all submodules? " yn2
|
||||||
case $yn in
|
case $yn2 in
|
||||||
[Yy]* ) git submodule update --init --recursive
|
[Yy]* ) git submodule update --init --recursive
|
||||||
break;;
|
break;;
|
||||||
[Nn]* ) exit;;
|
[Nn]* ) break;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
read -p "Do you wish to compile YCM?" yn
|
read -p "Do you wish to compile YCM? " yn3
|
||||||
case $yn in
|
case $yn3 in
|
||||||
[Yy]* ) ./vim/bundle/YouCompleteMe/install.sh
|
[Yy]* ) ./vim/bundle/YouCompleteMe/install.sh
|
||||||
break;;
|
break;;
|
||||||
[Nn]* ) exit;;
|
[Nn]* ) break;;
|
||||||
* ) echo "Please answer yes or no.";;
|
* ) echo "Please answer yes or no.";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user