install_retry.sh 392 B

123456789101112131415
  1. #!/bin/bash
  2. # LinuxGSM install_retry.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://linuxgsm.com
  5. # Description: Asks for installation retry after failure.
  6. local commandname="INSTALL"
  7. local commandaction="Install"
  8. local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
  9. if fn_prompt_yn "Retry install?" Y; then
  10. command_install.sh; exit
  11. else
  12. echo Exiting; exit
  13. fi