added rh/deb trigger

Previously in the install script there was only redhat installation, I've just added a simple if statement to check if the system is rpm or deb based and install the packages that it requires.