Conditional running with input menu

Related to the post Installing game from internet with a dropdown menu, is there any way of running a part of a script if an option is selected or not?
For example, ask “do you want to install the expansion of this game”, and run the setup if indicated or not.
The main idea of this is to integrate everything in the main Lutris script, instead of relying in a Bash installer script.

1 Like