install_retry.sh 348 B

12345678910111213141516
  1. #!/bin/bash
  2. # LGSM install_retry.sh function
  3. # Author: Daniel Gibbs
  4. # Website: http://gameservermanagers.com
  5. lgsm_version="271215"
  6. local modulename="Install"
  7. while true; do
  8. read -e -i "y" -p "Retry install? [Y/n]" yn
  9. case $yn in
  10. [Yy]* ) command_install.sh; exit;;
  11. [Nn]* ) echo Exiting; exit;;
  12. * ) echo "Please answer yes or no.";;
  13. esac
  14. done