Remove unnecessary check to see if these packages are installed. apt-get will ignore if it is the case.
Remove unnecessary check to see if these packages are installed. apt-get will ignore if it is the case.

Also, these two checks were not using the exec() command in the right way which means that they may never be installed in some cases.

neuroidss/Open-Semantic-Framework-Installer,structureddynamics/Open-Semantic-Framework-Installer,structureddynamics/Open-Semantic-Framework-Installer,neuroidss/Open-Semantic-Framework-Installer