1
Script that checks if a software is installed on Ubuntu. If installed, continue with the command sequence. if you do not ask if the user wants to install it anyway
Example:
if (programa1=Instalado, programa2=instalado); then
continua script;
else
echo "Voce precisa do programa1 e ele não está instalado, deseja continuar
assim mesmo?"
"sim"
continua script
"não"
Sai do script
I know that by DEB can do this, using the control but I would like to use a script.