Testing package system before reading from database of installed packages

I just added one simple condition yet which read value of $RPM_SYSTEM. If value is "deb" program creates statiscics from installed packages on Debian based system using present way.