install_retry.sh 382 B

12345678910111213141516
  1. #!/bin/bash
  2. # LinuxGSM install_retry.sh module
  3. # Author: Daniel Gibbs
  4. # Contributors: https://linuxgsm.com/contrib
  5. # Website: https://linuxgsm.com
  6. # Description: Asks for installation retry after failure.
  7. moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  8. if fn_prompt_yn "Retry install?" Y; then
  9. command_install.sh
  10. core_exit.sh
  11. else
  12. exitcode=0
  13. core_exit.sh
  14. fi