replace exits with break
This commit is contained in:
parent
804f6800d2
commit
d21d617af9
12
setup.sh
12
setup.sh
@ -42,7 +42,7 @@ then
|
||||
sudo apt-get install golang -y;
|
||||
break;;
|
||||
[Nn]* )
|
||||
exit;;
|
||||
break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
@ -60,7 +60,7 @@ then
|
||||
go get -u github.com/justjanne/powerline-go;
|
||||
break;;
|
||||
[Nn]* )
|
||||
exit;;
|
||||
break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
@ -79,7 +79,7 @@ then
|
||||
./install.sh;
|
||||
break;;
|
||||
[Nn]* )
|
||||
exit;;
|
||||
break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
@ -97,7 +97,7 @@ then
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm;
|
||||
break;;
|
||||
[Nn]* )
|
||||
exit;;
|
||||
break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
@ -119,11 +119,11 @@ then
|
||||
read -p "Do you want to install the vim plugins now?" yn
|
||||
case $yn in
|
||||
[Yy]* ) vim +PluginInstall +qall; break;;
|
||||
[Nn]* ) exit;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
exit;;
|
||||
break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
esac
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user