I am wondering about some use case with bash script. Imagine that user type:
./my_script.sh INSTALL=FALSE
and then package is installed without any dependencies or type INSTALL=TRUE
and then package is installed with all dependencies.
Now the script should know that INSTALL=FALSE
is default way so it means that is okay to type just
./my_script.sh
but user needs to specify
./my_script.sh INSTALL=TRUE
if he wants to install package with all dependencies.
Is it possible? How to do it?